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