You cannot enter 'System.Byte[]' in RecordID

MagnoMagno Member Posts: 168
edited 2011-09-10 in NAV Three Tier
Hi,

I have a table with a recordID as PK field.
When putting filters on it or trying to insert a new record with these filters i get the following notice.
You cannot enter 'System.Byte[]' in RecordID

What is the problem, or how can i solve this?

EDIT: On forms it works without problem.
The record gets inserted with the recordid as defaulted by the filter
There are no bugs, only random undocumented features...
---
My Blog: http://NAV-Magno.be

Answers

  • Sergii_ChernenkoSergii_Chernenko Member Posts: 14
    Normal filtering (setrange,setfilter) on the RecordID field works fine.

    However, if there is a page with subform which is linked to the main page by the relation based on the RecordID fields - the system gives the error message described above.

    Looks like a bug.
  • MagnoMagno Member Posts: 168
    already found that the problem was indeed caused by the subform which has "RecordID,Line no." as key.
    changed that to entry no. and added entry no. autoincrement to the header table...
    There are no bugs, only random undocumented features...
    ---
    My Blog: http://NAV-Magno.be
Sign In or Register to comment.