Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Unable to delete records by using DELETEALL function

$
0
0
This is the code and when system hit the DELETEALL function, I am getting "The 'record' already exists. Identification Fields and Values: <All the filter values here>"

NOTE: pblnDeleteAll is false.


lrecRentalComments.SETRANGE("Document Type", "Document Type");
lrecRentalComments.SETRANGE("Document No.", "Document No.");
lrecRentalComments.SETRANGE("Line No.", "Line No.");
IF NOT pblnDeleteAll THEN
lrecRentalComments.SETRANGE("Copied from Equipment",TRUE);


lrecRentalComments.DELETEALL;

Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>