Hi
I have a form frmOncRegMain that contains a combo box for a list of names. Next to this box is a button to add a new name to the list. The button opens a NameEntry form that accepts text.
In this NameEntry form I created a save button that is supposed to save the name to tblNames, close the form, then refresh the table so the new name is reflected in the combo box.
So I click "Add new" button which runs a macro to "OpenForm" NameEntry.
NameEntry opens, I type a name in the text box and click the "Save" button. The macro controlling this button says:
Action
"Close" Form, NameEntry,Prompt
"RunCommand" Refresh
This was working perfectly and all of a sudden when I entered a new name and tried to save it, I got an error saying that "The command or action "Refresh" isn't available.
I didn't make any changes to the table, form, or macro and it just started happening. Any ideas?
I have a form frmOncRegMain that contains a combo box for a list of names. Next to this box is a button to add a new name to the list. The button opens a NameEntry form that accepts text.
In this NameEntry form I created a save button that is supposed to save the name to tblNames, close the form, then refresh the table so the new name is reflected in the combo box.
So I click "Add new" button which runs a macro to "OpenForm" NameEntry.
NameEntry opens, I type a name in the text box and click the "Save" button. The macro controlling this button says:
Action
"Close" Form, NameEntry,Prompt
"RunCommand" Refresh
This was working perfectly and all of a sudden when I entered a new name and tried to save it, I got an error saying that "The command or action "Refresh" isn't available.
I didn't make any changes to the table, form, or macro and it just started happening. Any ideas?