Paul Newton
2018-10-03 13:02:47 UTC
Hi all
I wanted to get the properties of items in a collection like this:
For Each loItem In loCollection
AMEMBERS(laProps, loItem)
EndFor
But it did not work so I did a bit of searching and found http://fox.wikis.com/wc.dll?Wiki~WhenFoxObjectsAreNotReallyFoxObjects which states that in the For Each statement, FOXOBJECT is required as a keyword and then it works. Interestingly the following does work
For I = 1 To loCollection.Count
loItem = loCollection.Item(i)
AMEMBERS(laProps, loItem)
EndFor
I thought others may not have known this so decided to bring it to their attremntion.
Paul Newton
_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@SN1PR0201MB1856.namprd02.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
I wanted to get the properties of items in a collection like this:
For Each loItem In loCollection
AMEMBERS(laProps, loItem)
EndFor
But it did not work so I did a bit of searching and found http://fox.wikis.com/wc.dll?Wiki~WhenFoxObjectsAreNotReallyFoxObjects which states that in the For Each statement, FOXOBJECT is required as a keyword and then it works. Interestingly the following does work
For I = 1 To loCollection.Count
loItem = loCollection.Item(i)
AMEMBERS(laProps, loItem)
EndFor
I thought others may not have known this so decided to bring it to their attremntion.
Paul Newton
_______________________________________________
Post Messages to: ***@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/***@SN1PR0201MB1856.namprd02.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.