Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Link Tables on demand

0 views
Skip to first unread message

salsito

unread,
Feb 16, 2000, 3:00:00 AM2/16/00
to

I have a back-end and a front-end Db,for testing and other
reasons i want to be able to change the table-links at runtime
via a screen asking which db-file to use.
By the way is it possible that he automatically selects all
tables in one go?
(i work on different computers and networks)

Can somebody help?

Thanks

* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!


Brian Beers

unread,
Feb 16, 2000, 3:00:00 AM2/16/00
to
You can loop through allyour tabledefs and change the connect string.

Dim td as TableDefs
For Each td in CurrentDB.TableDefs
Select Case UserChoice
Case 1
td.Connect = ConnectString1
Case 2
td.Connect = ConnectString2
Case 3
td.Connect = ConnectString3
End Select

Next

Brian Beers

salsito wrote in message <083a7ec0...@usw-ex0102-014.remarq.com>...

Brian Beers

unread,
Feb 16, 2000, 3:00:00 AM2/16/00
to
You will also need to add:
td.Refreshlink
immediately following the "td.Connect" change.

Brian

Brian Beers wrote in message ...

0 new messages