hello !
I created a document page based on new tables (pict001)
but when i trying insert new group from the list (pict002) ,an error message is browsed (pict003)
someone can help me plz ???
tables used :
country group (code ,name) //Header
country group line (country group code,country code,country group name,country name)
//country group code from table group and country code from table country
0
Comments
Senior NAV Developer
Elbek & Vejrup
can you please share primary key of both the table, and subform link relation.
one more thing, try setting subform property DelayInsert = true
I screen print my tables structure and my subform with properties
someone have idea plz ??
thx
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
I deleted it and it works now
Thank you mibuers =D>
As said with carefulness the Delayed Insert can be used in the header/line pattern. For instance you can find it in the User table in the final release of Nav 2013. It does not set the key value in the OnNewRecored but in the OnInsertRecord.
The reason getting this error is that the execute data fetch is called WHEN the filter has changed. The filter is changed when you fill out the key in the header which is connected to the filter on the line. But the record has not been saved yet so therefore you get the error. It will close the page going forward.
Software Design Engineer II
Dynamics NAV Office 365
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.