This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > April 2004 > filtering problems





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author filtering problems
dprulhiere

2004-04-30, 10:29 pm

I have a field in my database that is called file_closed. in the web site is is
chosen by a dropdown box with the default value being NO and the other choice
being YES. I would like to filter my recorset based on this value. In my
recordset wizzard I have the following...
[i]filter: file_closed = URL Parameter YES[/i]
I would have thought that this would only pull up the files that are closed,
but it doesnt retrieve any.
below is the line of code...
[i]rsStatus.Source = "SELECT * FROM status WHERE file_closed = '" +
Replace(rsStatus__MMColParam, "'", "''") + "' ORDER BY lastname ASC"[/i]
Can anyone shed somelight on this for me. Why is it not filtering the way
that i want it to?

Thank you
David

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews