I get this SQL error statement:
INSERT INTO Members (FamilyName, GivenName, City, Street, ZIP, Country,
Email, Password, QuestionForget, AnswerForget, BirthDate, DayPhone,
CellPhone, EveningPhone, Favorite, Interest, BrowserType,
RemoteComputerName, UserName, TimeStamp) VALUES (''Borbély'', ''Gábor'',
''Las Vegas'', ''8220 Ocean Gate Way'', ''89128'', ''HUN'',
''bor...@yahoo.com'', ''0902'', ''Mothers name'', ''kolya'',
''1962.Január.1'', ''7022403082'', ''EMPTY'', ''EMPTY'', ''000000000000'',
''11000000'', ''EMPTY'', ''EMPTY'', ''EMPTY'', ''9/28/00 3:43:36 PM'')
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO
statement.
/_scripts/application.asp, line 98
Funny thing is, if i ran this with ''Mothers name?'' instead of ''Mothers
name'' I have got a totally different error message in the same line:
COUNT field invalid
Any ideas?
-Chad
"Gabor Borbely" <bor...@yahoo.com> wrote in message
news:e4d8$KZKAHA.256@cppssbbsa04...
INSERT INTO Members (FamilyName, GivenName, City, Street, ZIP, Country,
Email, Password, QuestionForget, AnswerForget, BirthDate, DayPhone,
CellPhone, EveningPhone, Favorite, Interest, BrowserType,
RemoteComputerName, UserName, TimeStamp) VALUES ('Borbély', 'Gábor', 'Las
Vegas', '8220 Ocean Gate Way', '89128', 'HUN', 'bor...@yahoo.com', '0902',
'Mothers name', 'kolya', '1968.Január.1', '7022403082', 'EMPTY', 'EMPTY',
'000000000000', '11000000', 'EMPTY', 'EMPTY', 'EMPTY', '9/28/00 6:04:06 PM')
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO
statement.
/_scripts/application.asp, line 98
NOW, it gave the same error with a single ' like in the other case with a
double '' (this is the same character twice, as you sure recognized).
Please, help. Any idea?
"Gabor Borbely" <bor...@yahoo.com> wrote in message
news:umpSRDa...@cppssbbsa02.microsoft.com...
Are all those fields of type char (or varchar, etc) and/or
datetime?
The only other thing I can think of is that the extended characters
like 'é' might be causing problem.
Everything is a textbox input converted with Cstr() to be string. There are
no other types that I (intentionaly) use here...
I am also suspicious about international characters, but since this has to
run in Central European characterset, I wonder, what the heck can I set,
other than the default language of the HTML, the form is on.
Any further ideas?
Tx, guys.
Hope this helps
Bye the way: you says that a " is twice a '.
Maybe for you it, but for your computer it isn't.
Suzanne Hoogstad
Any other ideas?
Tx Gabor
"S. Hoogstad" <shoo...@ntnt.nl> wrote in message
news:uXRlzKg...@cppssbbsa02.microsoft.com...
Second: 2x Chr(39) is not the same as a Chr(34). In your statement you must
type a " (chr 34) and not '' (2x chr 39). For your eye is almost the same,
but you computer tinks otherwise. You can at least try.
"Gabor Borbely" <bor...@yahoo.com> wrote in message
news:#TPWZHlKAHA.278@cppssbbsa05...
Your answer is here : Q190742
Luigi