zip up the whole project and include it (minus the forms that we don't need) The form loads with a lot of errors.
Line 284: Class MSDataGridLib.DataGrid of control grdDataGrid was not a loaded control class.
Line 201: Property Picture in cmdLast had an invalid file reference.
Line 220: Property Picture in cmdNext had an invalid file reference.
Line 239: Property Picture in cmdPrevious had an invalid file reference.
Line 258: Property Picture in cmdFirst had an invalid file reference.
Line 291: The property name _ExtentX in grdDataGrid is invalid.
Line 292: The property name _ExtentY in grdDataGrid is invalid.
Line 293: The property name _Version in grdDataGrid is invalid.
Line 294: The property name AllowUpdate in grdDataGrid is invalid.
Line 295: The property name AllowArrows in grdDataGrid is invalid.
Line 296: The property name HeadLines in grdDataGrid is invalid.
Line 297: The property name RowHeight in grdDataGrid is invalid.
Line 298: The property name AllowAddNew in grdDataGrid is invalid.
Line 307: The property name HeadFont in grdDataGrid is invalid.
Line 317: The property name Caption in grdDataGrid is invalid.
Line 318: The property name ColumnCount in grdDataGrid is invalid.
Line 331: The property name Column00 in grdDataGrid is invalid.
Line 344: The property name Column01 in grdDataGrid is invalid.
Line 345: The property name SplitCount in grdDataGrid is invalid.
Line 351: The property name Split0 in grdDataGrid is invalid.
I am sorry but I tried to simplify the code into 1 form already to avoid confusion.
I used VB data grid to display the data from the Oracle database. There is no error but I just fail to update/add new record into the datagrid form. I wonder what's wrong. Kindly advise.
Alright. I have recreated but not using datagrid this time.
I allow user to enter value into textbox and this value will be updated into database once they press update button.
Unfortunately I encountered error when doing debugging.
**********************************************
Run-time error
Multiple step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
***********************************************
'My code
Public DB As New ADODB.Connection
Public QQry As String
Public Recordset1 As New ADODB.Recordset