How a Db Grid be populated at run time thru Recordset (which is build using a run time query)
04-09-2002 at 06:42 AM
|
JLRodgers Level: Moderator Registered: 04-04-2002 Posts: 1658
Re: Run Time Population of a DBGrid Thru Recordset
If you use a data connection with the grid bound to it -the grid has a "refresh", and the data connection's .Recordsource property can contain the query.
IE:
Data1.Recordsource = "SELECT * FROM table"
Data1.Refresh
DBGrid1.Refresh