EternalMyrtle
I'm still alive
- Local time
- Today, 00:43
- Joined
- May 10, 2013
- Messages
- 533
Hello,
I have a subform that has a junction table for its record source. The junction table has required fields, one of which is a field called Status. This is nothing unusual as all of my junction tables have required fields and I have never had a problem like this before.
However, with this particular subform, the moment I update the first control (cboCompanies) I get the following message:
"You must enter a value in tblContactsCompanies.Status field."
So far, the only way I have been able to get around this is to enter a default value in the status field which I do not want to do.
I have looked through my code dozens of times in both the main form and subform to see if something is being requeried or saved after update but I am not finding anything.
Also, this subform never seems to stay "dirty". The moment cboCompanies is updated, the OnCurrent event seems to kick in. I know this because cboCompanies is locked in the OnCurrent if it has data and it gets locked immediately after update rather than when switching to the next record. I want the user to be able to undo the current record but s/he cannot. Again, I have never had this problem before.
Can anyone suggest someplace else to look??
Thank you!
I have a subform that has a junction table for its record source. The junction table has required fields, one of which is a field called Status. This is nothing unusual as all of my junction tables have required fields and I have never had a problem like this before.
However, with this particular subform, the moment I update the first control (cboCompanies) I get the following message:
"You must enter a value in tblContactsCompanies.Status field."
So far, the only way I have been able to get around this is to enter a default value in the status field which I do not want to do.
I have looked through my code dozens of times in both the main form and subform to see if something is being requeried or saved after update but I am not finding anything.
Also, this subform never seems to stay "dirty". The moment cboCompanies is updated, the OnCurrent event seems to kick in. I know this because cboCompanies is locked in the OnCurrent if it has data and it gets locked immediately after update rather than when switching to the next record. I want the user to be able to undo the current record but s/he cannot. Again, I have never had this problem before.
Can anyone suggest someplace else to look??
Thank you!