I have two problems that arose after converting a form into main/sub forms. Here is the new forms layout.
Main Form (frmTimeCard) - cmbEmpNum (tblEmpInfo)
txtDate (tblTimeCard)
Sub Form (sfrmTimeCard) [based on tblTimeCard]
tblTimeCard's primary key is EmpNum and txtDate.
On load, a new record appears. After choosing a EmpNum and entering a date, tab jumps to the subform. However, when I try to enter info into the first subform field, TimeIn, I get the following error message: (might be useful to know that I deleted the controls txtEmpNum & txtDate from the subform b/c i didn't want the form to be redundant)
A problem occurred while Microsoft Access was communicating with the OLE server or ActiveX control.
The second problem is that after entering info on the subform when I try to save the record, I get a message saying the there needs to be a valid primary key.
Any help would be greatly appreciated.
Main Form (frmTimeCard) - cmbEmpNum (tblEmpInfo)
txtDate (tblTimeCard)
Sub Form (sfrmTimeCard) [based on tblTimeCard]
tblTimeCard's primary key is EmpNum and txtDate.
On load, a new record appears. After choosing a EmpNum and entering a date, tab jumps to the subform. However, when I try to enter info into the first subform field, TimeIn, I get the following error message: (might be useful to know that I deleted the controls txtEmpNum & txtDate from the subform b/c i didn't want the form to be redundant)
A problem occurred while Microsoft Access was communicating with the OLE server or ActiveX control.
The second problem is that after entering info on the subform when I try to save the record, I get a message saying the there needs to be a valid primary key.
Any help would be greatly appreciated.