PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → FOR EACH WHERE CONTAIN
FOR EACH WHERE CONTAIN
Débuté par Ruan, 18 mar. 2016 07:47 - 1 réponse
Membre enregistré
209 messages
Popularité : +1 (1 vote)
Posté le 18 mars 2016 - 07:47
Good Day

I am trying to bring in data into my table. I want to use:

FOR EACH ABC WHERE ABC.NAME Contains EDT_NAMES


I did look at the help documents and they say I need to use ] but I cannot get this to work. What do I need to change.

Thanks
Posté le 16 août 2018 - 11:20
Hi Ruan

Please see the code snippet below:
It should do what you need.

bDoesContain is boolean

FOR EACH ABC
bDoesContain = Contains(ABC.Name,"ABC",IgnoreCase)
IF bDoesContain THEN
TableAddLine(YOUR_TABLE,ABC.Name)
END
bDoesContain = False
END


Hope this helps