A list of fields from a file IS what I want.  And this
GETS^DIQ is a bit off target in that it gets actual
values (meaning that there must be at least one record
in the file file for it to work).  But this would give
a list of the fields in the resulting array. 

Actually, now that I think about it, I doubt that it
will return the name of a field if there is no data in
that field.  So perhaps this function wouldn't work
after.

Perhaps there remains a need for another function in
the API to list the names of fields in file.

Thanks
Kevin


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

> Well, this is a little different from your stated
> requirement.  
> Without knowing the fields in your file, you can use
> "*" or "**" to  
> get all the field values for a *file entry*. If you
> are serializing  
> file entries using XML, that may be exactly what you
> want). But you  
> asked for something else. You asked for a way to get
> a list of fields  
> in a *file*. That's why it took so long.
> 
> ===
> Gregory Woodhouse
> [EMAIL PROTECTED]
> 
> "Perfection is achieved, not when there is nothing
> more to add, but  
> when there is nothing left to take away."
> -- Antoine de Saint-Exupery
> 
> On Jul 11, 2005, at 7:48 AM, Kevin Toppenberg wrote:
> 
> > Well I am glad to see that this need has been
> filled
> > with a proper API.
> >
> > I does seem a bit suspicious that it took over a
> week
> > for someone to come up with the appropriate
> function
> > (thanks Bob).  The names in the API are often less
> > than helpful.
> >
> > Thanks everyone
> > 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
> 



                
____________________________________________________
Sell on Yahoo! Auctions – no fees. Bid on great items.  
http://auctions.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