Forums

ASP

This topic is locked

Two different recordsets?

Posted 01 Oct 2003 01:39:55
1
has voted
01 Oct 2003 01:39:55 luke ingram posted:
Hi,

I want to create two versions of a recordset for two different modes. I want to invoke one or the other depending on a URL PARAMETER. Ive tried hand coding this with no luck.

Any help on the syntax would be most appreciated! i am using ASP

Thanks

Luke Ingram

Replies

Replied 08 Oct 2003 17:15:46
08 Oct 2003 17:15:46 Sean Cunningham replied:
I believe there's a way to enclose the recordset in an <% IF %> clause, but another way to go would be to create both recordsets and then only display the results based on a 'Show Record If Empty/Not Empty'. If you base the recordsets on the URL paramater, then that should do it.

Reply to this topic