varItemLedgerEntry.LOOKUPMODE := TRUE; FormEntries.SETTABLEVIEW(varItemLedgerEntry); IF FormEntries.RUNMODAL = ACTION::LookupOK THEN BEGIN FormEntries.GETRECORD(varItemLedgerEntry); VALIDATE("Lot 1", varItemLedgerEntry."Lot No."); VALIDATE("Location 1",'10'); END;
Comments
The best way really is to make another Form, though.
My Blog - nav.education
Regards