Is there an example of code that I could see on how to query just a regular data control, not an ADO control?
I know you need to do it when the form loads, but I am having trouble finding an example.
thanks,
smh
Printable View
Is there an example of code that I could see on how to query just a regular data control, not an ADO control?
I know you need to do it when the form loads, but I am having trouble finding an example.
thanks,
smh
set the connect property first (to what db you´re using)
Data1_bd.DatabaseName = App.Path & "\Catalog.mdb"
Data1_bd.RecordSource = "SELECT * FROM ..."
Data1_bd.Refresh