Results 1 to 2 of 2

Thread: database relink

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    2
    Hi,

    In a VB program, I'm opening a database file (.mdb) in a textbox using data control. I select the file name from a listbox and it opens fine.

    But when I select another file name from the listbox, the data control does not switch to this new .mdb file and does not display the new data (even though I assign the new database file name to the 'databasename' property of data control)

    How do I completely close connection from the previous mdb file and open a new mdb file. Thanks for helping in advance.

    Syed

  2. #2
    Lively Member Surgeon's Avatar
    Join Date
    Oct 2000
    Posts
    121
    Try bingo.Refresh
    where bingo is the name of your data control.

    Surgeon

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