A code block is a data type that can be stored in a variable or property. Code blocks are used in forms and reports to define events or text properties.

Because code blocks cannot span multiple lines, using the Source editor to edit a long code block can be cumbersome. So, when you choose to, you can open the Code Block Builder, which temporarily lays out the code one command per line, with the parameters in a separate text box. Edit what you need to, and choose OK. The code block appears in your code as one line again.

You don’t have to open the Code Block Builder if you don’t want to. You can edit directly in the Inspector or the Source editor.