Hello All,
I’m currenly working on a project that requires me to grab information that is kept in our PDM system (Agile), such as manufacture, manufacture part number, compliance, notes, etc. Since I have no way to link to this data (corporate policy for people like me), I’ve been exporting entire data tables (20K to 40K records) from this program in a comma delimited text file then loading it up into Access via Access’ import. When using Access’ import feature, I’m able to load the data in a table in the correct format as long as a comma doesn’t exist in the data itself. If a comma does exist, in say the notes field, Access thinks that it must go to the next field when actually it’s part of the data in the same field. Is their some way to get this to work? I’ve tried changing the delimator (find and replace in Word, Notepad, and Wordpad) to a special character that I know is not used in our data but this takes a LONG time for the find a replace to do it’s thing.
Ideally, I would like a user (myself and a couple others) to be able to click a button, open a text file selected by the user, and then have the file load directly into a specific table. However, this is easier said than done when your a novice user of Access with no VB training and limited background. I don’t know how I could do a lot of this, but if I could get the text into a variant or string, I could use MID, LEN, and other easy functions to extract the data to the table. I have a strong feeling that this wouldn’t be the best way, but not knowing VB that we’ll, I don’t know of any other way. Any help or suggestions would be greatly appreciated.
Thanks in advance.
Regards,
Drew