I have two forms (FRM1 & FRM2) with list boxes. When either list box is double clicked they open a third form(FRM3).
When I close FRM3, I want to requery FRM1 or FRM2 depending on which is open. However, the requery request for the form which is closed throws up an error.
I've tried using;
"If [Forms]![FRMx].visible=true then [FRM].requery" but that's not the solution.
Does anyone know how I can use an if statment to check if the form is open before requesting a requery?
Thanks, Dave
When I close FRM3, I want to requery FRM1 or FRM2 depending on which is open. However, the requery request for the form which is closed throws up an error.
I've tried using;
"If [Forms]![FRMx].visible=true then [FRM].requery" but that's not the solution.
Does anyone know how I can use an if statment to check if the form is open before requesting a requery?
Thanks, Dave