Also, assuming that there are no spaces in the values in the field:

if (myVar & space) is not in fld "myField" then put cr & myVar after fld "myField"

Mark

On 21 Jan 2006, at 20:07, Mark Schonewille wrote:

Hi André,

If all entries are in separate lines, you could do

if myVar is not among the lines of fld "myField" then

but if you have a list of items, using the comma as item delimiter, for instance, you might use

if myVar is not among the items of fld "myField" then

Best,

Mark



André.Bisseret wrote:
Hello,
If I have “AB-b3” in myVar and “AB-b34” in a fld “myField”
when I script :
If myVar is not in fld “myField” then put cr & myVar after fld “myField” AB-b3 is not added to myField !! It is “considered” as being already in fld “myField” ; well, I understand why ((AB-b3)4)
But how could I avoid that ?
Thanks in advance for help !
André

--

eHUG coordinator
mailto:[EMAIL PROTECTED]
http://www.ehug.info
http://home.wanadoo.nl/mark.sch
http://www.economy-x-talk.com

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to