i find my problem
in the example, there was not an bo in the form who contain the report
i just put my bo on this form and it's ok !
thank's
Eric LEISSLER
in my project, i have a report ( report1.rdlc) a standard straframe form who contain a reportviewer and a bindingsource named
BusinessBindingSource1titres
a made the same code like the example SampleCRMApplication
look
loForm.BusinessBindingSource1titres.BusinessObject.FillByPrimaryKey(
loForm.ShowDialog()
loForm.Close()
MicroFour.StrataFrame.Messaging.MessageForm.ShowMessage(
I don"t know why, but when i execute this code
an error is on the line
loForm.BusinessBindingSource1titres.BusinessObject.FillByPrimaryKey(Me.TitresBO1.identifiant)the error is
the NullReferenceException was not managed by user code.
I dont know whu because i made the same code than the example.
Have I forget something ??
Have you an idee .
Thank's
Best regard