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 / Importing / Linking / May 2005

Tip: Looking for answers? Try searching our database.

Problem with boss

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
R2D2Groupie - 28 May 2005 02:56 GMT
They need for me to import a text file into an Access file - no problem. Then
import another text file into another Access file and compare records between
them. Non dups records in second file need to be appended to the first file.
Duplicates are defined as the 5 leftmost chr of the first field concatenated
to 5 leftmost chr of 4th field concatenated to the 3 leftmost chr of the 7th
field - Problem. Also, there may be 3 or more text files that need to be
appended to first file.
Tried UNION to put all non dups together - worked but then failed when I
tried using the LEFT$ command to select just the 13 concatenated characters.
Tried a delete query using LEFT$ for each field. Wouldn't accept syntax.
Please help us Obi Won Kanobi, er, fellow users. You are our only hope.
Eric Blitzer - 31 May 2005 04:18 GMT
Why not import the data to a temporary table then append the records with the
concatenated field.  the cincatenated field would be unique.

Jim

> They need for me to import a text file into an Access file - no problem. Then
> import another text file into another Access file and compare records between
[quoted text clipped - 7 lines]
> Tried a delete query using LEFT$ for each field. Wouldn't accept syntax.
> Please help us Obi Won Kanobi, er, fellow users. You are our only hope.
 
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.