ultrakit
unread,May 4, 2017, 11:46:39 AM5/4/17You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi,
I need help on the function REFindNocase. The project is old and still using CF9 so there is a limitation on what can be use.
So each student has a different BookSlectList. Example: it can be NULL (which allows them to see all books), or 1 (which allows them to see Book A) or 1,2,3 (which allows them to see Book A, B, C)
We have the below:
<cfif REFindNocase("(1|2|3|4|5|6)",#Selection.BookSelectList#)>
<cfinclude template="abc.cfm">
</cfif>
Which works fine until we hit book 10, since 10 consist of "1". it will display books they are not meant to see.
What can I do to avoid that? Can REFindNOcase compare Numbers instead of String? If so, how it can be done?
Thanks in advance!