TABLENO function

mxcmxc Member Posts: 42
edited 2003-09-15 in Navision Attain
I am using the following line of code in a report. It is not compiling. Does anybody knows why?

TempSerialNo."Table No." := "Purch. Cr. Memo Line".TABLENO;
Regards,

Manuel Xavier

Comments

  • eromeineromein Member Posts: 589
    Check the help... TableNo (like you use it) does not exists.

    You'll need a RecordID to use the TableNo. statement. Or use the following:

    TableNumber := DATABASE::"Purch. Cr. Memo Line";
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
Sign In or Register to comment.