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...
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...
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...
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...
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.