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 / Macros / August 2004

Tip: Looking for answers? Try searching our database.

How to tell if a record exists in a table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marty - 27 Aug 2004 23:29 GMT
Howdy All,

  I getting update transactions from a flatfile, and want to use them to
update a table in a database.  However, I first need to check to see if the
proposed new key already exists on the table.  Obviously, there are many ways
to do this, but it must be a fairly common problem and was wondering if
anyone had looked into the most efficient mechanism?

Thanks,
   Marty
Steve Schapel - 28 Aug 2004 20:29 GMT
Marty,

Import the data into a "holding table" in your Access database, and then
use an Append Query to put it into the required table(s) from there.  If
the record already exists, it will not be included in the append.

Signature

Steve Schapel, Microsoft Access MVP

> Howdy All,
>
[quoted text clipped - 6 lines]
> Thanks,
>     Marty
 
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.