ChainsawJoe
Programmer
hey all - I have a recordset already returned from a VB obj which I cannot change, but need to limit the records to a specific set of IDs. For this I'm using rs.filter - seems to work perfectly if I use
but if I use
where ID and blahblah are UniqueIdentifiers, then I get
I know the SQL specified in the filter works, since it's fine thru SQL Query Analyser.
I believe the problem to be in how uniqueidentifiers are used thru ASP. Something's not clicking here - any clues?
Code:
rs.filter = "username like 'a%'
but if I use
Code:
rs.filter = "ID in (select blahblah as ID from blah)"
where ID and blahblah are UniqueIdentifiers, then I get
Code:
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
I know the SQL specified in the filter works, since it's fine thru SQL Query Analyser.
I believe the problem to be in how uniqueidentifiers are used thru ASP. Something's not clicking here - any clues?