Forums

This topic is locked

Show Region IF rset Field is LIKE Form Variable?

Posted 03 Mar 2003 22:29:43
1
has voted
03 Mar 2003 22:29:43 jack nimble posted:
Can you guys please post code that would describe the following rule?:

<b>Show Region IF Recordset Field is LIKE Form Variable</b>

Replies

Replied 04 Mar 2003 11:49:53
04 Mar 2003 11:49:53 Julio Taylor replied:
what language are you using..

------------------------
Julio

PHP | MySQL | DWMX | ColdFusion

ICQ: 19735247
Replied 04 Mar 2003 17:18:08
04 Mar 2003 17:18:08 jack nimble replied:
ASP
Replied 04 Mar 2003 18:43:43
04 Mar 2003 18:43:43 Brent Colflesh replied:
Dear Jackbnimble,
I'm assuming you are using VBScript then:

&lt;% if (rsTest.Fields.Item("myrecordset".Value) = formVariable then %&gt;

If you are actually trying to replicate the SQL command LIKE, then you will need to loop through the possible iterations of your form variable.

Regards,
Brent



Reply to this topic