12. September 2011 09:01
12. September 2011 16:16
if form.runmodal(99999,recordVariable) = ACTION::LookupOK THEN BEGIN
validate(feld,recordVariable.Feld);
CurrForm.Update(TRUE);
end;
20. September 2011 20:55
Item.setrange("Item Category Code","XX"); // Record "Item"
clear(ItemList); // Form "Item List"
ItemList.SETRECORD(Item);
ItemList.SETTABLEVIEW(ITEM);
IF ItemList.RUMODAL = ACTION::LookupOK THEN BEGIN
ItemList.GETRECORD(Item);
MeinFeld := Item."No.";
END;