Re- Form Datasource

Hi Everyone,

A method has been written in the SalesLine form Datasource…

SalesTable Form → DataSource → SalesLine → Methods → Copy (Method name)

Nw i ve to call tat method in a class…

but its nt cuming…

Write that method in the table level instead of writing in datasource.then call that table level method in that class.

Hello Madhan,

The methods which are written at the datasource level (as you have written) are available only within the scope of the form, where the datasource is available whereas if you write a method in the table it will be available in the datasource level as well as outside the scope of the form i.e. in a class also where it can be accessed through the table variable.