Forums

ASP

This topic is locked

Multiple delete

Posted 07 Sep 2001 11:00:25
1
has voted
07 Sep 2001 11:00:25 Michael Guntenaar posted:
I have this query on my page to DELETE an couple of records wich I select with an checkbox ... but I get an error all the time about a missing operator.

Does anybody C the problem ??

<%
if not request("deluren" = "" then
response.write request("del"
delquery = " delete from user where id =" & del
con.execute(delquery)
end if
%>

<img src=../images/dmxzone/forum/icon_smile_question.gif border=0 align=middle>

The response.write writes the good records so It must be my query



Edited by - mguntenaar on 09/07/2001 11:02:02

Replies

Replied 07 Sep 2001 12:01:03
07 Sep 2001 12:01:03 Owen Eastwick replied:
Where are you picking up the value of the variable <b>del</b>?

Is <b>del</b> a numeric value?

Regards

Owen.

Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Replied 07 Sep 2001 12:04:54
07 Sep 2001 12:04:54 Michael Guntenaar replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Where are you picking up the value of the variable <b>del</b>?

Is <b>del</b> a numeric value?

Regards

Owen.

Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

I allready fixed it :-p

Reply to this topic