MattioMatt
Registered User.
- Local time
- Today, 03:01
- Joined
- Apr 25, 2017
- Messages
- 99
Hi Minty,
Thanks for going into further detail! I'd like the combo control to be enabled or disabled based on the value of the chkStatus (which comes from another table) whether it is a new record or existing record.
I think this is why I'm having the problem on a new record as the if statements are looking for values that do not yet exist.
Is there a way to use the On Current Event to look up a record in another table/query and use that to enable/disable the control? I think the problem with trying this is that there will be no ID to relate to as again even though it is a foreign key, because it is a new record it's not been saved.
My other thought is to disabled all but one of the controls (the first is a required field) and use the before update on that control to then enabled the other controls/do the if statement I've been trying to do as that way it will have forced it to created the record.
Thanks for going into further detail! I'd like the combo control to be enabled or disabled based on the value of the chkStatus (which comes from another table) whether it is a new record or existing record.
I think this is why I'm having the problem on a new record as the if statements are looking for values that do not yet exist.
Is there a way to use the On Current Event to look up a record in another table/query and use that to enable/disable the control? I think the problem with trying this is that there will be no ID to relate to as again even though it is a foreign key, because it is a new record it's not been saved.
My other thought is to disabled all but one of the controls (the first is a required field) and use the before update on that control to then enabled the other controls/do the if statement I've been trying to do as that way it will have forced it to created the record.