Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / June 2007

Tip: Looking for answers? Try searching our database.

Linked table behavour

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robin S. - 20 Jun 2007 19:32 GMT
I'm having an issue with a linked table.

Overall picture: Our internal database uses .dbf files. I am using
Access 2003 to update prices within the database using price lists
from our vendors.

Specific operation: I drop the "products.dbf" file into a specific
folder, and that file is linked in my .mdb file. I copy the
products.dbf file to create a backup using FileCopy in VBA (so I can
compare the two and make sure the price update worked). The backup is
called "productsBAK.dbf and is linked to the .mdb as well.

I run an UPDATE query on the products.dbf file, and then compare
products.dbf and productsBAK.dbf using a simple SELECT query.

Problem: Every time I run the UPDATE query on "products.dbf", it
updates the bloody "productsBAK.dbf" table as well, even though there
is *no* reference to "productsBAK.dbf" in the UPDATE query.

Indeed, even if I manually delete the "productsBAK.dbf" file, the link
still works in the .mdb file, even if I refresh the link in the linked
table manager.

My question: Where can I find an explination on using linked tables
correctly? None of my programming manuals have that type of
description and I can't even guess what my issue is.

Thanks for any suggestions, keywords or links.

Regards,

Robin
Robin S. - 20 Jun 2007 20:58 GMT
> Problem: Every time I run the UPDATE query on "products.dbf", it
> updates the bloody "productsBAK.dbf" table as well, even though there
[quoted text clipped - 3 lines]
> still works in the .mdb file, even if I refresh the link in the linked
> table manager.

I worked around the issue by running a make table query to create a
backup within the mdb file. Doesn't really answer my question, but the
process works now.

Regards,

Robin
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.