This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
versago3:from_sp [2023/07/12 14:11] dlee [Obtaining Form Values] |
versago3:from_sp [2024/04/09 14:33] (current) dlee |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Custom | + | ====== Custom |
| There are two custom procedures available for use. These procedures are automatically created when a new form is created. | There are two custom procedures available for use. These procedures are automatically created when a new form is created. | ||
| Line 74: | Line 74: | ||
| FormField1, ..2, ..3 must match the Field Name in the form control settings. It is case sensitive | FormField1, ..2, ..3 must match the Field Name in the form control settings. It is case sensitive | ||
| - | |||
| - | --------------------------------------------------------------------------------------- | ||
| - | |||
| - | How to determine transaction type | ||
| - | |||
| - | IF isnull(@FormMode,' | ||
| - | IF isnull(@FormMode,' | ||
| - | IF isnull(@FormMode,' | ||
| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ||
| Line 94: | Line 86: | ||
| FormField1, ..2, ..3 must match the Field Name in the form control settings. It is case sensitive | FormField1, ..2, ..3 must match the Field Name in the form control settings. It is case sensitive | ||
| - | User SQL cursor to process each record | + | Use SQL cursor to process each record |
| </ | </ | ||
| Line 114: | Line 106: | ||
| You can now determine the form action based on the following code combinations. | You can now determine the form action based on the following code combinations. | ||
| - | IF isnull(@FormMode,' | + | IF isnull(@FormMode,'' |
| - | IF isnull(@FormMode,' | + | IF isnull(@FormMode,'' |
| - | IF isnull(@FormMode,' | + | IF isnull(@FormMode,'' |
| The “IF” statements can be used in the form’s Custom_PreExecute procedure to prevent certain actions from occurring before the form record is posted. The same logic can also be used in the form’s Customer_PostExecute procedure to take other actions, like posting information to logging columns in the record or to a logging table, triggering a Bizweaver workflow, etc. Keep in mind that the updated record has already been posted when the Custom_PostExecute procedure is executed. | The “IF” statements can be used in the form’s Custom_PreExecute procedure to prevent certain actions from occurring before the form record is posted. The same logic can also be used in the form’s Customer_PostExecute procedure to take other actions, like posting information to logging columns in the record or to a logging table, triggering a Bizweaver workflow, etc. Keep in mind that the updated record has already been posted when the Custom_PostExecute procedure is executed. | ||