I'm a member of an MVP forum that now has a lot of ex-MVP's. None of us can figure out how MS makes its decisions here. Albert is going to try and reapply in a few months.
That is indeed a useful discussion for this thread Jack. Thank you for posting. BTW, were you aware of the fact that Albert was NOT renewed as an MVP this month? I couldn't believe it.
Certainly a valid point but you have to admit that my solution did not suffer from that drawback. Your very helpful post are always filled with useful tips and I admire them a lot.
I'm sorry Colin, but I think you were a little harsh with your comment. I believe your opinion only applies to *your* solution but not to all solutions. It just struck me as very unlike your usual assistance.
Sorry but my email post office is sick right now so I never got notifications of your post. Are you saying that the RecordSource of the SubForm is set by the ComboBox selection?
If you use the method both Dave and I suggested then you do not need to know what form opens the transactions form! It keeps your code more modular. :)
If you open the "transaction form" as Dialog then the code behind the button waits for the next form to close or become invisible. It would be right after the OpenForm command in the button where you would run your Me.Requery.
In that case you can just use the Me.ControlName syntax and it should work for any MainForm. What sets the value in the ControlName? Is it the Record Source of this form? If so, there is absolutely NO problem.