✏️ Explanatory Question

What is the difference between form init() & DS init()

👁 162 Views
📘 Detailed Answer
162
Total Views
5
Related Qs
0%
Progress
💡

Answer with Explanation

What is the difference between form init() & DS init()

Form init(): init is activated immediately after new and creates the run-time image of the form.

DS init(): Creates a data source query based on the data source properties. The form data source init method creates the query to fetch data from the database and sets up links if the form is linked to another form.

When a form opens what are the sequential methods called.

Form init(), DataSource init(), Form run(), DataSource executeQuery(), canClose(), close().

Where is the best place to write code to perform filter in a form

FormDataSource - executeQuery() and call this method in the design field of the form.