Hello.
I'm new to VB and have just used the Data Form Wizard to create a Master/Detail view of my Access DB.
Using the wizard I choose to include a button to add new records, however this only seems to allow records to be add to the master datagrid and not the detail/child datagrid.
I could not even click on the detail datagrid but I added the line grdDataGrid.AllowAddNew in the cmdAdd_click()procedure. As a result I can now click on the datagrid and select a field but I'm not allowed to enter any data into it. I think this has something to do with the AddNewMode property which returns 0, however I don't know how to alter this setting (assuming that is my problem).
Can anyone help ?
Thanks.
J.
I'm new to VB and have just used the Data Form Wizard to create a Master/Detail view of my Access DB.
Using the wizard I choose to include a button to add new records, however this only seems to allow records to be add to the master datagrid and not the detail/child datagrid.
I could not even click on the detail datagrid but I added the line grdDataGrid.AllowAddNew in the cmdAdd_click()procedure. As a result I can now click on the datagrid and select a field but I'm not allowed to enter any data into it. I think this has something to do with the AddNewMode property which returns 0, however I don't know how to alter this setting (assuming that is my problem).
Can anyone help ?
Thanks.
J.