Roger's Access Library Homepage
Forum Home Forum Home > Roger's Access Library > Roger's Download Samples
  New Posts New Posts RSS Feed - LinkTables.mdb (intermediate)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

>
Want a good read? Try The Summer of His Life (available on Amazon!)

LinkTables.mdb (intermediate)

 Post Reply Post Reply
Author
Message
Roger Carlson View Drop Down
Microsoft MVP
Microsoft MVP


Joined: 20 Feb 2008
Status: Offline
Points: 261
Post Options Post Options   Thanks (0) Thanks(0)   Quote Roger Carlson Quote  Post ReplyReply Direct Link To This Post Topic: LinkTables.mdb (intermediate)
    Posted: 01 Aug 2008 at 2:45am

Please consider donating $1 per sample downloaded, find out why here.
 

LinkTables.mdb

This application does some things that aren't necessarily about programmatically linking tables. " It creates a database called 'LinkRemote.mdb', then it copies the table 'Detail' to LinkRemote.mdb, and then it links the table back as 'DetailRemote'.

The Exit button deletes the linked table and then deletes the LinkRemote.mdb file. Now the only reason I did this is so that I would have a ready made example to link from without having to send two tables.

It also has a GetPath function which returns just the path of the directory where the database resides. I use this for finding the directory where the database lives so I can put my LinkRemote.mdb there. There is also a GetFile function which just returns the file name of the current database, but this is not used here.
 
Download
Access 97 (55 KB):
uploads/5/LinkTables97.zip
Access 2000 DAO (43 KB): uploads/5/LinkTables2k.zip

Consider donating $1 per sample downloaded, find out why here.<
Back to Top
Sponsored Links
>
Want a good read? Try The Summer of His Life (available on Amazon!)

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.