J
Jeff
I've been trying to figure out what the problem is with
the following code. I've ruled all the fields out except
the CountryID field, which seems to be producing the
error. It's a numeric field, but I'm converting a country
name posted from a form into a numeric value in the
database.
<% if request.form("country") = "Belgium" then
countryid = 2
else
countryid = 5
end if
fp_sQry="INSERT INTO Retailers
(Username,Password,ContactFirst,ContactLast,Name,Address1,
Address2,City,Region,Postal,Tel,Fax,Email,Website,Newslett
er,CountryID) VALUES
('::Username::', ':
assword::', '::ContactFirst::', '::Co
ntactLast::', '::Name::', '::Address1::', '::Address2::',
'::City::', '::Region::', ':
ostal::', '::Tel::', '::Fax:
:', '::Email::', '::Website::', ::Newsletter::, ::CountryI
D:
"
the following code. I've ruled all the fields out except
the CountryID field, which seems to be producing the
error. It's a numeric field, but I'm converting a country
name posted from a form into a numeric value in the
database.
<% if request.form("country") = "Belgium" then
countryid = 2
else
countryid = 5
end if
fp_sQry="INSERT INTO Retailers
(Username,Password,ContactFirst,ContactLast,Name,Address1,
Address2,City,Region,Postal,Tel,Fax,Email,Website,Newslett
er,CountryID) VALUES
('::Username::', ':
ntactLast::', '::Name::', '::Address1::', '::Address2::',
'::City::', '::Region::', ':
:', '::Email::', '::Website::', ::Newsletter::, ::CountryI
D: