473,624 Members | 2,223 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Refreshing table links in split database.

1 New Member
Working in Access 2003, Windows XP Pro - (client not faithful to updates:(.

I have succeeded in splitting a database. (I am actually
working on a "test run copy" to insure that I am safe. My back-end contains
my tables and my front-end forms etc have "linked" icons preceding them.

Regarding the relinking code:

1. In my Access 2003 Inside-Out book it gives Startup Code to Verify and
Correct Linked Table Connections (on p. 1206). (I am assuming I can copy/paste this.) Then it says: “The code begins
by attempting to open the lined ztblVersionTabl e." I have looked in the
back-end and Front-end and find no table with that name.
a. Does that mean I do not use that code or that that table is hidden?
b. If I should use the code (presuming that the table is hidden), it tells
me to open the modStartup Module. where and how do I find the modStartup
Module. (I am assuming it is in the front end.)

My guess is that I would write an AutoExec macro to open the Switchboard form and either
- have the next step in the macro to be RunModule and have it run the ModStartup Module. I do not understand the term Procedure Name or whether if I named the module I could ignore the Procedure Name. I am not knowledgeable about VBA.
- Or, there is the following code in the OnOpen Event of the Switchboard form:
Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Open(Cancel As Integer)
  2. ' Minimize the database window and initialize the form.
  3.  
  4. On Error GoTo Form_Open_Err
  5.  
  6.     ' Minimize the database window.
  7.     DoCmd.SelectObject acForm, "Switchboard", True
  8.     DoCmd.Minimize
  9.  
  10.     ' Move to the switchboard page that is marked as the default.
  11.     Me.Filter = "[ItemNumber] = 0 AND [Argument] = 'Default' "
  12.     Me.FilterOn = True
  13.  
  14. Form_Open_Exit:
  15.     Exit Sub
  16.  
  17. Form_Open_Err:
  18.     MsgBox Err.Description
  19.     Resume Form_Open_Exit
  20.  
  21. End Sub
  22.  
Could I paste the code from the Inside-Out Book into the above prior to the End Sub?

These probably sound like crazy questions, but they are mine.

Very grateful for any insight you can give.

I was hoping to see a checkbox for "Notify me of replies", but maybe it is done automatically.. .?

Hope to hear from someone. If any of the above is not clear, just ask me and I will try to clarify.

Mary
Sep 25 '08 #1
1 1813
nico5038
3,080 Recognized Expert Specialist
Yes, ztblVersionTabl e should be available in the front end (linked) and back end.
To check or it's hidden you can use the Tools/Options popup window and set the property to show hidden objects.

When really missing you could create a "dummy" table with that name in the backend and use the linked table manager to add it to the front end.

Nic;o)
Sep 27 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

31
4114
by: Greg Scharlemann | last post by:
Given some recent success on a simple form validation (mainly due to the kind folks in this forum), I've tried to tackle something a bit more difficult. I'm pulling data down from a database and populating a simple table. I'd like the table to contain 10 entries per page and have the option for the user to scroll through the pages of data without having to go back to refresh the page (I've already pulled all the info I need from the...
5
3298
by: Scott Tilton | last post by:
I am having a terrible time getting this to work. I am hoping someone out there can help me with very specific code examples. I am trying to get the linked tables in my Access 97 database to be updated whenever the database opens. I need to have them updated based on an INI file that resides in the same directory as the current database. I do not need or want the ability to open a dialog box to pick the location. I simply want it to...
8
2095
by: Noni Ledford | last post by:
Hi - I have a database on a network, and each user logins using a shortcut from his PC to the shared database. There is a table created by a make-table query that locks up whenever more than one user is in the database. It doesn't matter that the users open completely different clients, forms, etc, as long as there are more than one user opens the database this table locks up. And the function that recalculates the amount doesn't work. ...
6
7578
by: Lewis Veale | last post by:
I have an Access 2000 front-end pointing at a SQL Server backend, with around 80 linked tables and views. I frequently need to point the front-end at different versions of the back-end, and achieve this by relinking the tables and views to use a different DSN. I use the Linked Table Manager > Select All > and tick the 'always prompt for a new location' box, then click OK. It correctly pops up the 'select data source' box, from which I...
1
3536
by: QBCM | last post by:
We split our Access database as suggested with a front end application on local machines and back end tables on a data server. We need to add a field to one of the tables but it looks as if splitting the database prevents us from making changes to the structure of the tables. Is there any way around this problem? Many thanks
5
3475
by: Jensen Bredal | last post by:
Hello, I need to display self refreshing information on a web page written with asp.net. I would image that the info would be displayed either as part of a user control or a web control. How can this be done? The information will come from a database and the displaying should loop throug a table in the database. Many thank in advance JB
2
1129
by: Parasyke | last post by:
I have a database that I just put into production (a split database) named ProductionInventory.mdb. This was a copy of my development database in a development folder with the original name DevelopmentInventory.mdb. Before deployment I did the split and the rename of the db. Now the problem arises where when I alter the folder paths in the linked table manager on my development database, it changes the links in my production database. ...
1
1736
by: Salad | last post by:
If one distributes a front/backend app is there a good practice for refreshing the links? I was thinking that the first time the user enters the app, it could check for any tables. If the Tables count is 0, have the user select the backend mdb via a File/Open dialog. Then link all the tables in the backend and write to a file the name of the backend. Then if I distribute an update I could simply read that file and refresh the links...
4
2855
by: Mike | last post by:
I have a multiuser access database to which I have split into fe & be. The system refreshes the links at each log-on between the fe & be automatically via code. PROBLEM: Locally it runs perfectly... in the client server setting the re- linking is extremely slow...
0
8238
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8174
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8680
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8624
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8336
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4082
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
1786
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1485
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.