Rafael:
I have used it something like this in the past:

use s_player
scatter name oPlayer memo
amembers(laFields, oPlayer)
 for each mField in laFields
   ? mField, evaluate(mField), isnull(evaluate(mField))
 endfor
use

Perhaps this will get the creative juices flowing...
Jack

Jack Skelley
Senior Director, Programming/Computer Operations
New Jersey Devils
(973)757-6164
[email protected] ________________________________________
From: [email protected] [[email protected]] on behalf of 
Rafael Copquin [[email protected]]
Sent: Friday, September 09, 2011 11:12 AM
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

_______________________________________________
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/7d9e7f72b813014c8fd022cf04f820ed092...@ex08.drdad.thenewarkarena.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.

Reply via email to