![]() | |
#11
| |||
| |||
|
|
Hi Mat, I have been puzzling on your problem for som time to try to understand what you are aiming for. I think I miss some point, because I can not translate it to some practical situation that I use. Why you want or need instances of a form, while you can open a form with DoCmd.OpenForm? HBInc. Honest answer. All the 'books' talk about opening instances of a form. I don't think it is necessary to do this for nearly any application other than developer preference. Anyone else got a good reason for opening multiple instances of a form? |
#12
| |||
| |||
|
|
All the 'books' talk about opening instances of a form. I don't think it is necessary to do this for nearly any application other than developer preference. Anyone else got a good reason for opening multiple instances of a form? |
#13
| |||
| |||
|
|
Hi all, When opening a form there appears to me to be two ways to do so: Option 1: docmd.openform "Form1" Option 2: dim frm as Form set frm = New Form1 OK so my question is: Can I combine the two options? dim frm as Form docmd.OpenForm strFormName set frm = Forms(Forms.Count-1) 'the newest form created The reason I don't think I can is because when I use option1 I can click design view on the form but when I use option 2 design view is disabled. I want to combine the two options because using option 1 I can open a form via a string whereas using option 2 I have to specify which form I want to create an instance of. |
#14
| |||
| |||
|
|
Do some searching on Access sites. Someone had an example of a booking application using objects to open forms allowing the user to move customers from one booking to another. I looked in my saved links but could not find it. |
![]() |
| Thread Tools | |
| Display Modes | |
| |