Dialog class

Hi All,

My requirement is I ve to create a dialog class when clicking button in the form. Dialog class should ve four fields. The first two fields should ve the data from the form when dialog is opening. I passed the datasource as argument to the dialog class but unable to fill the field when dialog is opened. How can it be done?


Kuppusamy S

  1. In ClassDeclaration create 2 variables for this 2 dialog controls. For ex. var1 and var 2.

  2. In dialog method add controls using addFieldValue(). Ex. dlgField1 = dialog.addFiledValue(typeId(A),var1).

  3. Override initParmDefault method. In this method write code like this: var1 = dataSourceTable.Field1…