cancel
Showing results for 
Search instead for 
Did you mean: 

select statments

vijy_mukunthan
Active Contributor
0 Kudos

hi friends

i have a doubt. what is the use of select statements in driver program and also there is select statements in smartforms. what is the purpose of both these statements in different places. can any one explain me with an example.

Regards

vijay

Accepted Solutions (0)

Answers (1)

Answers (1)

amit_khare
Active Contributor
0 Kudos

There are many ways to handle the logic.

For example -

I can extract all the data in the driver program and just pass the final data to the smartform for display.

I can call the form and do all the coding, data extraction there only along with display.

I can extract initial data in the driver program and rest of the data extraction can take place in Form.

Third one will help in resusing the driver program and form with different requirements on the same line.

Regards,

Amit

vijy_mukunthan
Active Contributor
0 Kudos

hi amit

thankz for quick reply. can u explain with an example.

amit_khare
Active Contributor
0 Kudos

Say e.g. There is a report to display payroll of all the countries.

But the output format and the some country specific data might differ. In that case I will create a Driver program with general data pass it to the Form based on the country selected. Process country specific data in the form based on the general data and display the out put in the form.

Regards,

Amit