Hi everyone,
Im hoping someone can help with something that should be quite simple.
i have a form, with a subform. On the main form i have 2 combox boxes (Project number and Observer) that i want to use to autofill the same fields in the subform, just to pre-populate those fields when people are entering data manually.
I have done this before on other forms in the same database and it works great, simply by using a macro: RunMenuItem: Refresh. And setting the default values for each field in the subform to the Combobox value.
But upon creating this new form/subform i get the following error:
"The command or action 'Refresh' isnt available now.
*You may be in a read-only database or an unconverted database from an earlier version of Microsoft Access
*The type of object the action applies to isnt currently selected or isnt in the active view
Use only those command and macro actions that are currently available for this database."
It certainly isnt a read-only or unconverted database. So that leaves me with the second error option, which i dont see how that applies either, as all i am doing is refreshing. If i ignore the error and choose not to stop the macro, and then hit refresh form the Ribbon, then the Project code selected appears in the subform, as required.
Any suggestions people?