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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Array element in %Fields update. 1

Status
Not open for further replies.

rarogersonkf

Programmer
Aug 23, 2005
23
0
0
CA
If I want to update a file in Free using the %Fields() BIF can the field be an
array element? For Example...
Code:
FMyfile    UF   E           K DISK
d Weeklyhrs       ds                                       
d  Monhrs                                                
d  Tuehrs                                                
d  Wedhrs                                                
d  Thuhrs                                                
d  Frihrs                                                
d  Sathrs                                                
d  Sunhrs                                                
d  DailyHrs                           Overlay(WeeklyHrs)   
d                                     Like(Monhrs) Dim(7)

  Dailyhrs(1) = 4;                  
  Update Myrec  %Fields(Dailyhrs(1));

Thanks in advance,

Rob
 
Rob,

Nope. It's like Bob said in another forum. You must use the field names from the file.

HTH,
MdnghtPgmr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top