It looks like you're new here. Sign in or register to get started.
Form - OnInit() InitTempTab(); Form - OnFindRecord(Which : Text[1024]) : Boolean TempCust.COPY(Rec); Found := TempCust.FIND(Which); Rec := TempCust; EXIT(Found); Form - OnNextRecord(Steps : Integer) : Integer TempCust.COPY(Rec); ResultSteps := TempCust.NEXT(Steps); Rec := TempCust; EXIT(ResultSteps); InitTempTab() Cust.setrange("No.",'00000001','00000010'); cust.find('-'); repeat Tempcust := cust; Tempcust.insert; until cust.next = 0; <Control1119402005> - OnPush() CurrForm.SETSELECTIONFILTER(Cust); IF Cust.FIND('-') THEN BEGIN REPEAT MESSAGE(Cust."No." + ' ' + Cust.Name); UNTIL Cust.NEXT = 0; END;
TempTab := Rec; //somewhere in a loop for example form.run(FormID,TempTab);
Comments
Is there an error message displayed?
example: form is based on tab 18
or the the TempTab is set before in a other function like
In the form (FormID) you have the same setselectionfilter function like in the source above.
Regards
But my problem is when i mark.
I can't get marked line without function in menuitem. I use function coded in assistedit trigger form's control.
So if somebody have a solution...