Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Importing Data and updateing Fields

Status
Not open for further replies.

ajolson1964

Programmer
Mar 25, 2008
31
US
I want to import data from a txt file and update fields within a table. More specifically what I am looking to do is have the txt file open then evaluate each record within a table to match a unique identifier. When the match is made I want the “Empty (null)” fields within that file to be updated and those fields that are not null to be ignored. Is this at all possible? And if so does anyone have the code that will help me execute this.
 
You might be easier coding to:

Import the table
Use filtered recordsets to identify the reocrds, make the changes
Export the table as text in the same format with the changes, overwriting the file.

Won't work if the text file is shared or already open.

SeeThru
Synergy Connections Ltd - Telemarketing Services
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top