How load a subfile inquiry screen from arrays
5 pts.
0
Q:
How load a subfile inquiry screen from arrays
I need to display a subfile inquiry screen.But not directly from the file.I have to pass the records into arrays.From the array with specific conditions i need to load the subfile inquiry screen.
How can i achieve this?
ASKED: Apr 15 2009  2:51 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
24600 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Not much different from using a file
You step through the array
If the element qualifies to be added
You put the element into the subfile fields
add 1 to the SFL rrn
write the subfile record

Heres some sample code.

For X = 1 to MaxX
if Arr(X) = '''' your rules here
Eval SFLFLD1 = Arr(X)
Eval SFLRRN += 1
Write SFLRCD
endif
EndFor

Phil
Last Answered: Apr 15 2009  6:36 PM GMT by Philpl1jb   24600 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0