G
GeyikBaba
In Access 2003 I have a form with a property defined as follows:
Public wtPrelimFinal as string
This form, and a couple of similar forms, call a dialog form where the user
picks between two options.
I want to pass the name of the form and the proprty to the called form as
follows, for example:
"Forms!ThisForm.wtPrelimFinal", using OpenArgs, then storing the string in a
variable, say strForm in the called form.
When the user selects an option, I want to reset the value of wtPrelimFinal
in the calling form.
Hard coded, it would be somthing like:
Forms!ThisForm.wtPrelimFinal = "FINAL"
In the called form, how do I reset the variable in the calling form using
strForm?
EVAL(strForm) = "FINAL" did not work. The error message was asking for an
object.
Many thanks
Mike Thomas
Public wtPrelimFinal as string
This form, and a couple of similar forms, call a dialog form where the user
picks between two options.
I want to pass the name of the form and the proprty to the called form as
follows, for example:
"Forms!ThisForm.wtPrelimFinal", using OpenArgs, then storing the string in a
variable, say strForm in the called form.
When the user selects an option, I want to reset the value of wtPrelimFinal
in the calling form.
Hard coded, it would be somthing like:
Forms!ThisForm.wtPrelimFinal = "FINAL"
In the called form, how do I reset the variable in the calling form using
strForm?
EVAL(strForm) = "FINAL" did not work. The error message was asking for an
object.
Many thanks
Mike Thomas