View Single Post
  #24 (permalink)  
Old June 10th, 2004, 07:18 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

What I meant was for you to post the outcome of your SQL statement. I think it will end up like this:

WHERE Bla bla IN (1, 2, 3, )

As you can see, it ends with an additional comma, which is not allowed. You'll need to strip it off before you send it to the database.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote