(Office 2003 / 2000 format) I have a Main form created from a Main table. However on the form are combo boxes that allow you to choose from the list and the lists show row sources from other tables. (e.g., The form has a combo box called "Manager" and it is pulling the results from the MgrTbl. The form has a "Status" combo box and it shows what's in the StatusTbl, etc.)
Since I limit to list for these combo boxes, I have a button by each combo box that allows user to update the, for example, MgrTbl. On click, it opens the MgrTblFORM and a new entry can go into that form to update. Then they close the MgrTblFORM. Now they are back to the Main form. If they click the dropdown box for that combo box, they will see the list including the item they just added when they updated the MgrTblFORM. (The list gets refreshed/requeried.)
The problem that I'm having is this.... All Requery commands work fine on the "On Got Focus" line in Properties for each combo box. However when I get to the one for "Manager", it gives me an error message and then the Action Failed, Halt box. When I look at the properties of the "Manager" combo box and those of the other combo boxes, they are the same. (Each have a Requery macro set at "On Got Focus".) (Please see attachment for screen shot examples.)
Why do I keep getting this error for this item? I must mention that this field is a newly added field to the Main table and the Main form. Is it rejecting because it wasnt with the original setup? Do I have to recreate the whole form from scratch? (I hope not!) Is there a better way for me to make the lists update after the other form associated with that list is updated? Please advise and thanks!
Since I limit to list for these combo boxes, I have a button by each combo box that allows user to update the, for example, MgrTbl. On click, it opens the MgrTblFORM and a new entry can go into that form to update. Then they close the MgrTblFORM. Now they are back to the Main form. If they click the dropdown box for that combo box, they will see the list including the item they just added when they updated the MgrTblFORM. (The list gets refreshed/requeried.)
The problem that I'm having is this.... All Requery commands work fine on the "On Got Focus" line in Properties for each combo box. However when I get to the one for "Manager", it gives me an error message and then the Action Failed, Halt box. When I look at the properties of the "Manager" combo box and those of the other combo boxes, they are the same. (Each have a Requery macro set at "On Got Focus".) (Please see attachment for screen shot examples.)
Why do I keep getting this error for this item? I must mention that this field is a newly added field to the Main table and the Main form. Is it rejecting because it wasnt with the original setup? Do I have to recreate the whole form from scratch? (I hope not!) Is there a better way for me to make the lists update after the other form associated with that list is updated? Please advise and thanks!