Topic: Loading a grid using script

Hi, and thanks for the last reply.
I'm trying to write a scrip that will load table data into a grid after the form shows . The data required is based a SQL search based on the user input from a InPutBox() . Any ideas and thanks for great application.
Terry

Re: Loading a grid using script

Hello,


Here you can find info, how to do it using button.
http://myvisualdatabase.com/help_en/com … n_sql.html


also you can create event OnShow for form and click on this button using script, example:

procedure Form1_OnShow (Sender: string; Action: string);
begin
   Form1.Button1.Click;
end;



also you can do by another way, please download the example:
http://myvisualdatabase.com/forum/misc. … download=1

Dmitry.

Re: Loading a grid using script

Hi,

Thanks, understand where is was going wrong. You have saved me a lot of time and frustration.