Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
How we can check if a number or string exists in a return of a getselections() .
Here is what I want :
if 3 exists in getselections(PERIOD)
Thanks
try wildmatch(getselections(PERIOD),'*3*')
try wildmatch(getselections(PERIOD),'*3*')
Thanks, it worked
There is a problem here.
It shows 11 and 12 when I select 10 .
Do you have any idea?
Can you upload a sample with the issue you are getting?
Also see if you have the same issues using GetFieldSelections(Period)
The document is big and I can't upload.
for the getselections() is ok but with wildmatch it goes wrong.
Thanks
It's fixed now. I removed the * when the period is 1 ,2 and it's good now.
Thanks.
Another option would be to just use the match function if you are looking to match exactly.