My problem seems to be that I am trying to do this on a subform.
This is not a table type subform (its not the kind of subform that looks like an excel spread sheet), but rather a combobox and several other fields and all but the first are enabled = no. As the user fills in one field, the next one becomes available depending on certain criteria.
I have several problems:
For example - Record#1 on the subform.
If the first field has the right data, then you advance to the next field (which becomes enabled). If the data has been entered into the second field but does not meet the criteria to enable the 3rd field, it is time to create a new record on the subform. You then press the navigation button at the bottom of the form and advance to the next subform record. This is Record#2.
Problem is that the second field will be enabled on this record even though I have not filled out the required info in the first field.
I have tried the Form_Current event to help it stop the latter problem but then you are able to advance through new records without even entering in info. This creates a bunch of blank records. The minute I remove the Call from the Form_Current (the call to the AfterUpdate event that was written to enable/disable the fields), the extra blank records problems go away.
Does any one understand my problem and if so, is there a solution to it?
I can sort of write code but I seem to be missing some important stuff here. Please help if you can.
This is not a table type subform (its not the kind of subform that looks like an excel spread sheet), but rather a combobox and several other fields and all but the first are enabled = no. As the user fills in one field, the next one becomes available depending on certain criteria.
I have several problems:
For example - Record#1 on the subform.
If the first field has the right data, then you advance to the next field (which becomes enabled). If the data has been entered into the second field but does not meet the criteria to enable the 3rd field, it is time to create a new record on the subform. You then press the navigation button at the bottom of the form and advance to the next subform record. This is Record#2.
Problem is that the second field will be enabled on this record even though I have not filled out the required info in the first field.
I have tried the Form_Current event to help it stop the latter problem but then you are able to advance through new records without even entering in info. This creates a bunch of blank records. The minute I remove the Call from the Form_Current (the call to the AfterUpdate event that was written to enable/disable the fields), the extra blank records problems go away.
Does any one understand my problem and if so, is there a solution to it?
I can sort of write code but I seem to be missing some important stuff here. Please help if you can.