syntax question

  • Thread starter Thread starter Chuck_S
  • Start date Start date
C

Chuck_S

Hey All


I have a very basic question (I hope). What syntax do I use to get a
variable that was dim’ed in a public function into unbound text box on a form?


Thanks for any help.
 
Chuck_S said:
I have a very basic question (I hope). What syntax do I use to get a
variable that was dim’ed in a public function into unbound text box on a form?


The function can assign the variable's value to a control on
an open form using a statement like:

Forms!theform.thetextbox = thevariable

If the function is in the form's (with the text box) module,
then use:
Me.thetextbox = thevariable
 
Thanks! that does the trick




Marshall said:
The function can assign the variable's value to a control on
an open form using a statement like:

Forms!theform.thetextbox = thevariable

If the function is in the form's (with the text box) module,
then use:
Me.thetextbox = thevariable
 
Back
Top