G
Guest
I have a number of forms which should send a value back to a master form if
its open and have put this part of the code into a function. The function is
accessed properly and works till I get to the lines below where it always
evaluates the form 'MoneyForm' to false even though its open.
the form is called moneyform and is in the same project.
If CurrentProject.AllForms(MoneyForm).IsLoaded = True Then
atrTarget = Charge
Exit Function
Else
Exit Function
End If
I was having, almost random, problems with this in the individual form
modules and decided to put it into a function to simpify matters (except its
not working).
With much thanks in advance,
Amit
its open and have put this part of the code into a function. The function is
accessed properly and works till I get to the lines below where it always
evaluates the form 'MoneyForm' to false even though its open.
the form is called moneyform and is in the same project.
If CurrentProject.AllForms(MoneyForm).IsLoaded = True Then
atrTarget = Charge
Exit Function
Else
Exit Function
End If
I was having, almost random, problems with this in the individual form
modules and decided to put it into a function to simpify matters (except its
not working).
With much thanks in advance,
Amit