Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Developer Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Distributing a split database
Jerry Addleston 
   
2 years ago
Hi all,
So, I have split my database and now want to distribute it to a new location.  I need the program to recognize that the Data file is not where it is expecting and then have a way to recover the situation and re-link the files.  I have a re-link function, but it relies on a table in the database that it can't find. The program (FE) starts with a modal logon screen.
Any elegant ideas?
Thanks
John Davy  @Reply  
         
2 years ago
Hi Jerry
Take a look at Richard's Access Developer 33. I think that will help you

John
Richard Rost  @Reply  
           
2 years ago
I do this in the ABCD and the Account Balances databases too.
Thomas Gonder  @Reply  
      
2 years ago
The trick here is to know where the back end (BE) is.
There are a lot of little things I need to know before a user logs in.
A lot of these can change based on who and where the user is, like language or currency.
For the dozen or so of these parameters that need to be "fed" into the front end (FE) there are two choices:
1) Put the path to the BE in a control table in the FE. But then everyone that gets that FE needs to have the same BE path, which isn't too unreasonable.
2) At FE startup (like login) read a text file with this BE path (and any other parameters) that are needed to get the ball rolling.

Here's a sample of the code I use:

<CODE>
  FileNm = CurrentProject.Path & "\sbda.txt"
  iFile = FreeFile

  Open FileNm For Input As #iFile
  lcnt1 = 1
  Do Until EOF(1) Or lcnt1 > 12
    Line Input #1, temp1
    mSp(0, lcnt1) = temp1
    lcnt1 = lcnt1 + 1
  Loop
  Close #iFile
</CODE>
Jerry Addleston OP  @Reply  
   
2 years ago
Thanks for the help.  Problem solved

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Developer Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/6/2026 9:13:38 PM. PLT: 1s