In a form we have created a subform. The data is this subform is accessed via a view in SQL server. With linked object control we can access the data in a this form and show us all the data.
However we only see one item when we link the form with this "view created subform".. To link the data from the form with the subform we use in the subform properties the attribute subformlink the following code: "Buy-from Vendor No_=FIELD(No.)"
Anyone an idea?
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Your code is ok, data are not "correct" (or as expected)... :-)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Can you send me text file with the object (subform and form)?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Form Code
Documentation()
Form - OnInit()
Form - OnOpenForm()
Form - OnCloseForm()
Form - OnQueryCloseForm() : Boolean
Form - OnActivateForm()
Form - OnDeactivateForm()
Form - OnFindRecord(Which : Text[1024]) : Boolean
Form - OnNextRecord(Steps : Integer) : Integer
Form - OnAfterGetRecord()
Form - OnAfterGetCurrRecord()
Form - OnBeforePutRecord()
Form - OnNewRecord(BelowxRec : Boolean)
Form - OnInsertRecord(BelowxRec : Boolean) : Boolean
Form - OnModifyRecord() : Boolean
Form - OnDeleteRecord() : Boolean
Form - OnTimer()
Form - OnCreateHyperlink(VAR URL : Text[1024])
Form - OnHyperlink(URL : Text[1024])
Subform
Documentation()
Form - OnInit()
Form - OnOpenForm()
Form - OnCloseForm()
Form - OnQueryCloseForm() : Boolean
Form - OnActivateForm()
Form - OnDeactivateForm()
Form - OnFindRecord(Which : Text[1024]) : Boolean
Form - OnNextRecord(Steps : Integer) : Integer
Form - OnAfterGetRecord()
Form - OnAfterGetCurrRecord()
Form - OnBeforePutRecord()
Form - OnNewRecord(BelowxRec : Boolean)
Form - OnInsertRecord(BelowxRec : Boolean) : Boolean
Form - OnModifyRecord() : Boolean
Form - OnDeleteRecord() : Boolean
Form - OnTimer()
Form - OnCreateHyperlink(VAR URL : Text[1024])
Form - OnHyperlink(URL : Text[1024])
UPDATE [$ndo$dbproperty] SET diagnostics = 131072
in many cases it helps us, but it is only shot in the dark...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
If you run the subform alone and set the filter manually you have only one record?
If you run the subform without filter, you have more records with same values in the filtered field?
If you run the subform as part of the form and it is linked as you wrote, only one record is shown?
Can you post example of the records with same values in the filtered field?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.