|
This procedure gets specified Window Number and Line, gives back marked record,returns true if record is found and read |
|
FileName |
any Vc |
wn |
Window Number |
i |
Line Marked in Browse Window |
|
global
procedure INStatusINLsm()
BEGIN
record INVc INr;
record RcVc RepSpec;
Integer wn,i;
wn = CurWindow;
i = 1;
while (GetRecordFromBrowse(INr,wn,i)) begin
if (i==1) then begin
RepSpec.f1 = INr.Code;
end;
i = i + 1;
end;
if (nonblank(RepSpec.f1)) then begin
RepSpec.f1 = RepSpec.f1 & ":";
end;
RepSpec.f1 = RepSpec.f1 & INr.Code;
RepSpec.Media = mtScreen;
RepSpec.repname = "INInfoRn";
RunReport(RepSpec,0);
RETURN;
END;
««