|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
Join Date: Jan 2002
Location: Quebec, Canada
Posts: 426
|
how can I access a variable from another form?
Hi,
the topic says everything, how can I get a variable from another form. ex: Form1: nom1 = a combobox with text Form2: I want to use nom1 and copy it to the clipboard. how can I copy it? I can't seem to get the program access the variable. thanks dim3x Last edited by muTe; 07-25-2002 at 11:08 PM. |
|
|
|
|
|
#2 |
|
Professional gadfly
|
Reference it like this:
Forms("Form1").nom1 I'm not too sure about the hierarchy there, there may be another group you have to put between the form and the nom1, but give this a try first. |
|
|
|
|
|
#3 |
|
Member (9 bit)
Join Date: Jan 2002
Location: Quebec, Canada
Posts: 426
|
yeah it worked thanks
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|