![]() |
#4 |
Участник
|
Example
This example shows how to use the dialog.OPEN function. <div class='CALtop'>C/AL</div><div class='CAL'>AccountInfo := Text000 + Text001; AccNo := 5634; TotSum := 1000; d.OPEN(AccountInfo, AccNo, TotSum); // Opens a window with '#'-fields for Account no. and Total d.UPDATE(); // Update the fields d.CLOSE()</div> Create the following text constants in the C/AL Globals window: Text Constant ENU Value Text000 'Account no. #1######,\' Text001 'shows a total of $ #2######' The system will open the dialog window and show this text: Account no. 5634 shows a total of $ 1000 This shows that the system has formatted the values of the variables AccNo and TotSum into the '#'-fields.
__________________
Русский человек славится своим умением находить выход из самых трудных ситуаций, но еще более он славится своим умением находить туда вход. |
|