Hello,
i've got a problem with a LinkedObject to a table at the SQL-Server an binary fields. we have two tables. In the first table the primary key ist a binary Field, contains the IDs. The second table also have a primary key (binary field type) with a another ID. There is a field in second table with contains the ID from the first table.
1. Table
Enabled Field No. Field Name Data Type Length Description
Yes 1 BUCHHALTUNGID Binary 10
2. Table
Enabled Field No. Field Name Data Type Length Description
Yes 1 BUCHHALTUNGCOID Binary 10
Yes 2 BUCHHALTUNGID Binary 10
If i count the rows in the second table, i always get zero. Also, I can't view the binary type Field in Navision. Is it posible to make a setrange with binary fields in Navision.
buchhaltung is a DATAITEM in a report.
buchhaltung - OnAfterGetRecord()
buchhaltungco2.RESET;
buchhaltungco2.SETCURRENTKEY(BUCHHALTUNGID);
buchhaltungco2.SETRANGE(BUCHHALTUNGID,buchhaltung.BUCHHALTUNGID);
anzcount := buchhaltungco2.COUNT;
Thanks for your help.
best regards
Andreas Vogl
0