|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Class Instancing
I'm fairly new to the ideas of OO and classes and here is my problem.
I have created a class that I initiate from one form. I want to be able to view the details of the current class instance on a second form. Is there an easy way to do this. I could create a global class instance but i like to try and avoid globals as much as is possible. |
|
#2
|
|||
|
|||
|
Hi Mark,
I have read and reread your question, and I am lost. Is your objective to create a multiple instance of your form? Second question, what is the objection to globals if I might ask? lwells |
|
#3
|
|||
|
|||
|
Sorry I wasn't clear
I have an objec tto hold customer details. I select a customer class on one form and then want to refer to that instance of the customer on other forms. As to global variables the only real objection I have ids that I was try to limit the scope of a variable whenever possible however in this case I might have to use one |
![]() |
| Viewing: Dev Articles Community Forums > Databases > Microsoft Access Development > Class Instancing |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|