Skip to Content
0
Former Member
Sep 16, 2011 at 09:34 AM

PL08 Application Crashes when attempting a LoadFromDatasource operation

31 Views

We have recently upgraded to the latest patch level 8.81 SP00 PL08 and an add-on that function correctly in PL06 now crashes in this patch.

Using debug, we have narrowed the error down to a loadfromdatasource method being called on a matirix object, as below:

oForm.DataSources.DataTables.Item("mytable").ExecuteQuery("select Itemname from oitm where " & scond)
                oForm.Refresh()
                omatxtmp.Clear()
                omatxtmp.Columns.Item("uidDesc").DataBind.Bind("mytable", "itemname")

                Try

                    omatxtmp.LoadFromDataSource()
                Catch ex As Exception

                End Try

This happens in debug and causes SAP Business One to completely crash, creating a dump file.

Does anyone have any suggestions on how to overcome this problem?

Regards

Robert