Use aMembers() to examine the scattered object, this will get you an array of 
the property names then they you can interrogate them using macro substitution

Dave C


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Rafael Copquin
Sent: 09 September 2011 16:13
To: [email protected]
Subject: scatter name

Say you scatter all fields of one record to an object, like so:

select customers
locate for accno = '1234'
if found()
    scatter name oCust memo
endif

and you want to know whether there is one or more fields containing a 
null value.

How do you scan the oCust object to search for the null value?
Do you use a function like ascan or any other?

Rafael Copquin


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** 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.

Reply via email to