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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jjohnson123

    Verify CSV Field Names Before Importing

    Skip, THANK YOU SIR. I used an extra variable (prepBuffer) to trim out the first 2 special characters and the exact number of characters to import and then split that. Works on both CSV files. Man you MADE my week. Thanks for taking the time to help me work through this. [2thumbsup] [thumbsup2]
  2. jjohnson123

    Verify CSV Field Names Before Importing

    Part of the problem is that one of the files has the character the other doesn't. And I'm having a hard time even finding what the character is, there's a bunch that show up as boxes... Is there a way in the line input to only input the first 76 characters? That's the number of characters in...
  3. jjohnson123

    Verify CSV Field Names Before Importing

    Hi Skip, yeah that's why I use Chr(9) as the delimiter, it works. I fixed the funny character problem by trimming the first 2 characters off varField(0). If (Mid(varFields(0), 3, 5)) <> "Test1" Or _ Solved! Works perfect. My last problem is the line input recognizing the end of the first...
  4. jjohnson123

    Verify CSV Field Names Before Importing

    I typed the varFields out of sequence which was causing that error. Now I've got another can of worms with this. There's potentially 2 CSV files, generated from different sources, that seem to encode the CSV file differently. They both create a funny looking character first character, kind of...
  5. jjohnson123

    Verify CSV Field Names Before Importing

    Hi Skip, Thanks, completely didn't see that. Now it gives an error, "Subscript out of range".
  6. jjohnson123

    Verify CSV Field Names Before Importing

    I've posted this question elsewhere, but no one seems to know how to fix the code... Before importing from a CSV, I'm trying to verify: 1) How many fields are present before importing a csv file 2) If the number of fields is correct, are the field names correct as well... The CSV file uses...

Part and Inventory Search

Back
Top