R
Rico
Hello,
This week seems like one thing after another! I am running some simple code
to fill a dataset and keep getting the error "An unhandled exception of type
'System.Data.OleDb.OleDbException' occurred in system.data.dll" with no
additional information about the error. The code is as follows;
daSerialDetails = mdi.dt.GenericDA("SELECT * FROM
VendorOrderDetailSerialNumbers WHERE OrderItemID=" & OrderID & " AND
SerialNumber is null")
daSerialDetails.Fill(dsInventoryTypeOrders.Tables("SerialDetails"))
the GenericDA code is as it states "Generic" and is used throughout the
program, I've never had trouble with it. The dsInventoryTypeOrders dataset
schema is filled from the same VendorOrderDetailSerialNumbers table earlier
in the form code (scope is at the form level for both DS and DA), but this
is the first place it gets filled.
Any ideas?
Rick
This week seems like one thing after another! I am running some simple code
to fill a dataset and keep getting the error "An unhandled exception of type
'System.Data.OleDb.OleDbException' occurred in system.data.dll" with no
additional information about the error. The code is as follows;
daSerialDetails = mdi.dt.GenericDA("SELECT * FROM
VendorOrderDetailSerialNumbers WHERE OrderItemID=" & OrderID & " AND
SerialNumber is null")
daSerialDetails.Fill(dsInventoryTypeOrders.Tables("SerialDetails"))
the GenericDA code is as it states "Generic" and is used throughout the
program, I've never had trouble with it. The dsInventoryTypeOrders dataset
schema is filled from the same VendorOrderDetailSerialNumbers table earlier
in the form code (scope is at the form level for both DS and DA), but this
is the first place it gets filled.
Any ideas?
Rick