I have two forms; Sales Entry and Customer Info. If I am in Sales Entry, I have a command button to open Customer Info to enter a new customer on the fly. When I close the Customer Info form, I need to refresh the Sales Entry form, so I inserted a "Refresh" in the "On Close" event in the Customer Info form. This works fine, but when the Customer Info form is opened independently of the Sales Entry form and then closed, the code wants to refresh the Sales Entry form which of course is closed. SO, Is it possible to use an IIf statement to check if the Sales Entry form is open before doing a refresh? If so, what would be the syntax?
Thanks in advance.
Thanks in advance.