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




--- Gregory Woodhouse
<[EMAIL PROTECTED]> wrote:

> It would be easy enough (though maybe a bit tedious)
> to design an API  
> to do the same basic thing. I think I already shared
> the code I wrote  
> to visit all the fields in a file. You can then use
> FIELD^DID or  
> FIELDLST^DID.
> ===
> Gregory Woodhouse
> [EMAIL PROTECTED]
> 
> "Design quality doesn't ensure success, but design
> failure can ensure  
> failure."
> 
> --Kent Beck
> 
> On Jul 10, 2005, at 5:11 AM, Marianne Susaanti
> Follingstad wrote:
> 
> > Kevin, I believe you are looking for the List File
> Attributes  
> > option, which is under FileMan options and Data
> Dictionary options  
> > within that.  If you instead want something across
> files, I believe  
> > there is something in the IHS version.  Maybe
> someone else could  
> > speak to that.
> > Marianne
> >
> >
> 
> 
> 
>
-------------------------------------------------------
> 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
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
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