When assigning a variable to be posted in a form we need to make the variable global for the whole script. If we assign the variable in the transaction only we get the error: Compile error, SEM 12 : variable is not declared To resolve this issue we would declare the variable at the beginning of the script before the TInit transaction. For example: dcluser user VUser transactions TInit : begin; TMain : 1; var Sresult : string;
↧