General information
Category:
Coding, syntax & commands
Title:
INLIST() with variable?
site = 'HSC'
This works:
?inlist(site,'xxx','HSC') && returns .T.
This does NOT work:
clist = "'xxx','HSC'"
?inlist(site,clist) && returns .F.
I need to have a dynamic list (e.g. clist = ...) so that
I can use this code to conditionally delete records. Not
sure why this will not work.
Any ideas or alternative solutions?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only