Topic: data to grid
hello DriveSoft..
how to show data in grid using SQLEcecute command
in Script on button click
My Visual Database → General → data to grid
hello DriveSoft..
how to show data in grid using SQLEcecute command
in Script on button click
thanks. but i asked that how can we use this type of queries in pascal script and show data in grid.
http://myvisualdatabase.com/help_en/scr … egrid.html deploy SqlValue
SQLExecute('SELECT data FROM table WHERE what_you_are_looking_for='your filter')
blackpearl8534.
Here is another way:
procedure Form1_Button1_OnClick (Sender: string; var Cancel: boolean);
begin
Form1.Tablegrid1.dbSQL:='SELECT id, lastname, firstname FROM employees';
Form1.Tablegrid1.dbGeneralTable := 'employees';
Form1.Tablegrid1.dbListFieldsNames :='delete_col,Last Name,First Name';
Form1.Tablegrid1.dbSQLExecute;
end;
if we use multiple tables for query then how to write this script
You simply write the appropriate SQL in the SELECT statement. You can place left joins and where clauses, etc in the SELECT statement as needed for additional tables.
My Visual Database → General → data to grid
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi