Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Interactive Program Subfile Reference 1

Status
Not open for further replies.

rstitzel

MIS
Apr 24, 2002
286
US
I have a display file named win080rsfm

Within this display file I have three records

Input (Standard)
DataEntry (Subfile)
Verify (Subfile)

It's my understanding that you must reference the subfiles and relative record number in the F specs of the program.

Something like this:
F WIN080RSFM CF E WORKSTN SFILE(DATAENTRY:RRN)

Questions: What would the relative record number be? And can I reference more than one subfile. In my program I have two subfiles (Dataentry & Verify) that I'll need to use. Do I just add another line?

Please advise.

Thanks in advance for any and all help.

 
Yes, you can just add another line. I'm working on a program here that has multiple subfile record formats:
Code:
 	     FAru010Fm  CF   E             Workstn Infds(Fileds)    
 	     F                                     Infsr(*PSSR)     
 	     F                                     Sfile(Dtabch:Rrn)
 	     F                                     Sfile(Dtacon:Rrn)
 	     F                                     Sfile(Dtapno:Rrn)
 	     F                                     Sfile(Dtadis:Rrn)
 	     F                                     Sfile(Dtacom:Rrn)


"When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for here you have been, and there you will always long to return."

--Leonardo da Vinci

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top