Connecting Tech Pros Worldwide Help | Site Map

Import Class

  #1  
Old November 13th, 2005, 08:52 AM
Edgar Thoemmes
Guest
 
Posts: n/a
I have used the import class module from
http://www.mvps.org/access/modules/mdl0057.htm.

This reads the file correctly and is half of what I need, Can anyone
give me any tips/hints on appending the data to a table?

Basically I need to import all data to tblNewVendors, also I would
like to manipulate certain fields before they are imported.

TIA
  #2  
Old November 13th, 2005, 08:53 AM
pietlinden@hotmail.com
Guest
 
Posts: n/a

re: Import Class


if you want to manipulate the data, you'll either have to (1) do it in
code after it's parsed; or (2) run update queries against tblNewVendors
in your code.

Maybe I'm just ignorant, but the only way I have ever been able to
manipulate certain fields before they're imported is to read the lines
of text in code, parse them by using Split() or something like it, and
then doing my manipulations and finally appending by using a recordset.
PITA. Easier to dump to a temp table, manipulate the raw data and
then dump the massaged data to final table from there using an append
query.

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to using/import class library in Visual Web Developer Express C# Ronde answers 1 April 25th, 2006 04:48 PM
Python Class use S Borg answers 5 February 8th, 2006 09:55 AM
Import Class. Not Imports ... ? Shapper answers 2 November 19th, 2005 01:30 PM
Import Class from API [Yosi] answers 1 November 17th, 2005 04:01 AM