Kevin,

Here's are some Database Server/FM calls that will return all fields in a file, and subfile:  

     S FILE=20101
     S MSG=""
     S FDA=""
     S IENS="**"
     S FLAGS=""
     D GETS^DIQ(1,FILE,IENS,FLAGS,"FDA","MSG")


To get just the top-level fields from the file:

     S FILE=20101
     S MSG=""
     S FDA=""
     S IENS="*"  ;just change this from 2 asterisks to 1 asterisk
     S FLAGS=""
     D GETS^DIQ(1,FILE,IENS,FLAGS,"FDA","MSG")


HTH,
Bob

---------------------------------------------------------------
Robert H. Dobbins
IT Administrator III -- Computer Operations
Univ. of Tenn. -- College of Veterinary Medicine
2407 River Drive, Rm. A108
Knoxville, TN 37996-4500
(865) 974-5593
[EMAIL PROTECTED]
"Knowledge, Compassion, Discovery"
---------------------------------------------------------------

Reply via email to