PDA

Click to See Complete Forum and Search --> : datacontrol


smh
Nov 9th, 2000, 08:53 AM
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

jp_schwartz
Nov 9th, 2000, 10:06 AM
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