Oh...and don't forget that some of those fields may be multiple. In those cases you need to descend into the subfile, too (but watch out for WP fields).
===
Gregory Woodhouse
[EMAIL PROTECTED]

"Design quality doesn't ensure success, but design failure can ensure failure."

--Kent Beck

On Jul 10, 2005, at 10:07 AM, Kevin Toppenberg wrote:

Its not too tedius.  Here is the function I created to
generate a list of all fields (but not subfields) for
a file.

GetFldList(FileNmber,pArray)

   new index set index=$order(^DD(FileNumber,0))
   if +index>0 for  do  quit:(+index'>0)
   . set @pArray@(index)=""
   . set index=$order(^DD(FileNumber,index))

Kevin





-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to