• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Looking At Other Issues

Two additional issues have not yet been covered regarding the distribution of your application. The first issue involves ensuring that the application database can establish any links that it has to external tables. The second issue involves the prospect of using replication to effectively distribute changes to your application.

Automating the Process of Linking to Tables

Access hard-codes locations for table links. This means that if you install your application on another machine, unless the other machine has exactly the same folder structure as you do on your machine, the tables will not link successfully. The code shown in Listing 37.4 checks to see whether the required tables are available. If they are not found in the expected location, the routine attempts to locate them in the same folder as the application database. If they still cannot be found, the user is given an opportunity to locate the files. If they still cannot be found, the application terminates.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint