I have a bit of a problem that's driving me absolutely nuts...so I'm hoping someone can set me straight ![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
In my database ( I have a one to many relationship between tblProgramInfo and tblESPAssignmentBrief, and then a one to one relationship between tblESPAssignmentBrief and tblAssignmentDetails.
The user starts out on frmProgramInfo (which works nicely!) and then clicks the "View ESP Assignments" button at the bottom to get to a more detailed form. On that form I'm trying to set it up so that you can enter brief info about the upcoming assignments. However, whenever I attempt to enter anything in that subform, and upon attempting to exit that form, I get this error:
"You cannot add or change a record because a related record is required in table 'tblProgramInfo'"
In addition, when I click the "Details" button to get to the details form and attempt to enter any data there, I receive the same error, but one table up on the tree:
"You cannot add or change a record because a related record is required in table 'tblESPAssignmentsBrief'"
I suppose that I'm doing something fundamentally incorrect, but I have no idea what it might be. In fact, for a while today the whole thing worked just fine, and then randomly started up with the error again. Any thoughts would be *most* appreciated!
Oh, and I realize some of the data is yet to be normalized properly (the budget stuff), I'm going to work on that after I sort out these critical errors.
In my database ( I have a one to many relationship between tblProgramInfo and tblESPAssignmentBrief, and then a one to one relationship between tblESPAssignmentBrief and tblAssignmentDetails.
The user starts out on frmProgramInfo (which works nicely!) and then clicks the "View ESP Assignments" button at the bottom to get to a more detailed form. On that form I'm trying to set it up so that you can enter brief info about the upcoming assignments. However, whenever I attempt to enter anything in that subform, and upon attempting to exit that form, I get this error:
"You cannot add or change a record because a related record is required in table 'tblProgramInfo'"
In addition, when I click the "Details" button to get to the details form and attempt to enter any data there, I receive the same error, but one table up on the tree:
"You cannot add or change a record because a related record is required in table 'tblESPAssignmentsBrief'"
I suppose that I'm doing something fundamentally incorrect, but I have no idea what it might be. In fact, for a while today the whole thing worked just fine, and then randomly started up with the error again. Any thoughts would be *most* appreciated!
Oh, and I realize some of the data is yet to be normalized properly (the budget stuff), I'm going to work on that after I sort out these critical errors.