D
Derek
Hi,
I'm having problems running an Access 2000 query.
The following query works fine if I run it within Access:
PARAMETERS [IN-NAME] Text ( 255 ), [IN-DESC] Text ( 255 );
UPDATE tbl_Maps SET tbl_Maps.map_desc = [IN-DESC]
WHERE ((([tbl_Maps].[map_name])=[IN-NAME]));
I'm trying to execute this from an ASP page using:
sqlUpdate = "EXECUTE MAP_U2 ('" & map_name
& "', 'Derek' )"
Conn.Execute(sqlUpdate)
At execution the variable sqlUpdate contains
EXECUTE MAP_U2 ('GF', 'Derek' )
When I run this from my ASP page I get the error:
Microsoft JET Database Engine:
Syntax error in parameters clause.
Make sure the parameter exists and that you typed its
value correctly.
This looks like it should be pretty obvious but I can't
spot the error. Any help would be appreciated.
Thanks
Derek
I'm having problems running an Access 2000 query.
The following query works fine if I run it within Access:
PARAMETERS [IN-NAME] Text ( 255 ), [IN-DESC] Text ( 255 );
UPDATE tbl_Maps SET tbl_Maps.map_desc = [IN-DESC]
WHERE ((([tbl_Maps].[map_name])=[IN-NAME]));
I'm trying to execute this from an ASP page using:
sqlUpdate = "EXECUTE MAP_U2 ('" & map_name
& "', 'Derek' )"
Conn.Execute(sqlUpdate)
At execution the variable sqlUpdate contains
EXECUTE MAP_U2 ('GF', 'Derek' )
When I run this from my ASP page I get the error:
Microsoft JET Database Engine:
Syntax error in parameters clause.
Make sure the parameter exists and that you typed its
value correctly.
This looks like it should be pretty obvious but I can't
spot the error. Any help would be appreciated.
Thanks
Derek