Hi,
I'm trying to delete a line in the description on my page, but when I click 'No' it deletes it anyway and doesn't go back to how it was originally. Can anyone give me any ideas of the code that may need to be inputted?
This is my code:
recPurchaseHeader.SETRANGE("Buy-from Vendor No.",recPurchaseLine."Buy-from Vendor No.");
recPurchaseLine.SETRANGE("Document Type", recPurchaseLine."Document Type"::Order);
recPurchaseHeader.FINDSET;
IF CONFIRM(
Text1004,
FALSE)
THEN
IF recPurchaseLine.Description <> xrecPurchaseLine.Description = FALSE THEN
EXIT;