Error while taking the backup of navision database

ashishaashisha Member Posts: 60
When i am trying to take backup of navision database, we are getting the error (1204 in module 19)
Table : Customer
Company:
Key Fields: No.
Please help me asap, becoz i am not able to do any thing becoz of that error.

Comments

  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • ashishaashisha Member Posts: 60
    Thanks for your reply,
    i have tested this also, but couldn't succeed. DO you have any other idea for that.
  • SavatageSavatage Member Posts: 7,142
    What do you mean you Tested it.

    Did you try exactly what the linked post said?
  • ashishaashisha Member Posts: 60
    I have tried that code......
    RecRef.OPEN(DATABASE::"YourCorruptTable");
    IF RecRef.FIND('-') THEN
    REPEAT
    FOR I := 1 TO RecRef.FIELDCOUNT DO BEGIN
    FldRef := RecRef.FIELDINDEX(I);
    IF (UPPERCASE(FORMAT(FldRef.TYPE)) = 'CODE') AND (UPPERCASE(FORMAT(FldRef.CLASS)) = 'NORMAL') THEN
    BEGIN
    str:=UPPERCASE(FldRef.VALUE);
    FldRef.VALUE := DELCHR(str,'<>');
    END;
    END;
    RecRef.MODIFY;

    But couldn't suceed, any suggestion?
    UNTIL RecRef.NEXT = 0;
Sign In or Register to comment.