Results 1 to 2 of 2

Thread: datacontrol

  1. #1

    Thread Starter
    Addicted Member smh's Avatar
    Join Date
    Oct 2000
    Location
    South Dakota, USA
    Posts
    249
    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
    Normal is boring...

    smh

  2. #2
    Hyperactive Member
    Join Date
    Nov 2000
    Location
    Mexico City
    Posts
    306

    Cool

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width