24. Februar 2012 14:55
RecordRef.OPEN(ExportSetup1."Table No.");
IF RecordRef.FINDSET THEN
REPEAT
ExportSetup2.RESET;
ExportSetup2.SETRANGE("Table No.", ExportSetup1."Table No.");
if ExportSetup2.FINDSET then
REPEAT
FieldRef := RecordRef.FIELD(ExportSetup2."Field No.");
OutFile.WRITETEXT(FieldRef.VALUE);
UNTIL ExportSetup2.NEXT = 0;
ExportSetup1."Last RecordID" := RecordRef.RECORDID;
ExportSetup1.MODFIY(TRUE);
UNTIL RecRef.NEXT = 0;
24. Februar 2012 15:11
IF RecRef.FINDSET THEN
IF RecRef.NEXT <> 0 THEN
25. Februar 2012 13:08
16. Juni 2012 15:45
LinkFound := FALSE;
CleRecRef.GETTABLE("Cust. Ledger Entry");
SETCURRENTKEY("Record ID");
SETFILTER("Record ID",FORMAT(CleRecRef.RECORDID));
IF NOT FINDSET() THEN BEGIN
//CleRecRef.GETTABLE("Cust. Ledger Entry");
//SETCURRENTKEY("Record ID");
SETRANGE("Record ID",CleRecRef.RECORDID);
IF FINDSET() THEN
LinkFound := TRUE;
END ELSE
LinkFound := TRUE;