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

Recent content by datavisions

  1. datavisions

    TXT file import...how to process more than one

    I have code that will find the number of .TXT files in a folder. I normally only process the one that is usually found in the folder, but I need to know how to process as many .TXT files as are found. Has anyone done this before? Here's the code I use to identify ONE in the folder. Public...
  2. datavisions

    SQL syntax error - HELP PLEASE

    I used to manage hockey! I have another question about importing so I'll post a new thread here in a sec.
  3. datavisions

    SIMPLE QUESTION: How to declare a variable and assign a value

    Ignore me. That won't work. I better get some rest now.
  4. datavisions

    SIMPLE QUESTION: How to declare a variable and assign a value

    You can try Set variableX = 5, but that will make an assumption about the data type, if that's OK.
  5. datavisions

    SIMPLE QUESTION: How to declare a variable and assign a value

    Mike: I tried and it would even compile LOL (but then we all know the kind of day I'VE had)
  6. datavisions

    SQL syntax error - I WILL PAY TO GET THIS RESOLVED

    mike777: You sure have a way of calming down a hysterical programmer-in-distress with your demeanor. Thanks a million!
  7. datavisions

    SQL syntax error - HELP PLEASE

    scriverb: I'm in beautiful Toronto, Canada. Great selection of beers here.
  8. datavisions

    SQL syntax error - I WILL PAY TO GET THIS RESOLVED

    I GOT IT! No syntax errors, and it INSERTS perfectly. Here's the full SQL (I had narrowed it down to two fields for simplicity earlier). The trick is to put SINGLE quotes AROUND the double quotes, like: '" & variable & "' so here's my new code: db.Execute "INSERT into...
  9. datavisions

    SQL syntax error - HELP PLEASE

    I GOT IT! No syntax errors, and it INSERTS perfectly. Here's the full SQL (I had narrowed it down to two fields for simplicity earlier). The trick is to put SINGLE quotes AROUND the double quotes, like: '" & variable & "' so here's my new code: db.Execute "INSERT into...
  10. datavisions

    SQL syntax error - HELP PLEASE

    scriverb: I'm not getting a syntax error any longer, BUT nothing it making it to the table. No message, nothing.
  11. datavisions

    SQL syntax error - HELP PLEASE

    scriverb: Yes that's what it looks like
  12. datavisions

    SQL syntax error - I WILL PAY TO GET THIS RESOLVED

    Mike777: I tried: I would say: db.Execute "INSERT into tblAAAccidentTemp(OldAccountNumber,RejectCode) values ('123456789111','SomeString30CharactersLong')" or: db.Execute "INSERT into tblAAAccidentTemp(OldAccountNumber,RejectCode) values...
  13. datavisions

    SQL syntax error - HELP PLEASE

    scriverb : That's correct. It's like a "remarks" field. Sometimes it has text in it, and sometimes it doesn't.
  14. datavisions

    SQL syntax error - I WILL PAY TO GET THIS RESOLVED

    mike777: I'll try that right now and let you know. I REALLY appreciate everyone's help and I hope I get through this.
  15. datavisions

    SQL syntax error - HELP PLEASE

    jiqjaq : I had tried that as well, since that's the way I used to always do my SQL. It still didn't work. That's why I've been going mental over this today. Nothing seems to work.

Part and Inventory Search

Back
Top