| **Navigation:**  [[clarion 7 faqs.htm|How To's and Troubleshooting]] > How to... >====== Defining Procedure Formulas ====== | [[how to customize a check box on a report.htm|{{btn_prev_n.gif|Previous page}}]][[clarion 7 faqs.htm|{{btn_home_n.gif|Return to chapter overview}}]][[how to design your dictionary and database.htm|{{btn_next_n.gif|Next page}}]] | | || Creating conditional expressions with the **Formula Editor** actually creates structures in the source code. There are three structures you can create with the **Formula Editor**--a simple assignment expression, or an IF or a CASE structure. You can also nest either of these structures, creating complex conditional statements. The **Formula Editor** creates simple (unconditional) assignments, the **Conditionals** dialog creates complex conditional assignments, and the **Formulas** dialog manages these formulaic assignments for your procedure. See: [[how to create a simple assignment expression.htm|How to Create a Simple Assignment Expression]] [[how to create a complex assignment expression.htm|How to Create a Complex Assignment Expression]] Usually, you'll want to display the result of your assignment in a string control in a window or report. To display it in a window: 1.Press the **Window **button to open the **Window Designer**. 2.Select the STRING control from the controls** Toolbox**, and DRAG to the window to place the control. 3.With the new string control selected, choose **View **{{c6h0013.jpg|C6H0013.jpg}}** Properties** (or RIGHT-CLICK on the string and choose **Properties** from the popup menu). 4.Set the **VariableString** property to TRUE in the **Properties Pad** dialog. 5.Highlight the Use property and press the ellipsis button to select the variable which contains the **result** of your formula. 6.Type a valid display picture in the **Text **property** **field. 7.Choose **Save and Close **to close the **Window Designer** and return to the **Procedure Properties** dialog.