PDA

Click to See Complete Forum and Search --> : database relink


srr6220
Nov 13th, 2000, 10:22 PM
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

Surgeon
Nov 14th, 2000, 09:31 AM
Try bingo.Refresh
where bingo is the name of your data control.

Surgeon