|
-
Oct 28th, 2002, 09:34 AM
#1
Thread Starter
Frenzied Member
Multiple instances of a form
Does someone know if i can open an instance of an allready opened form in Access.
The problem is you have to open a form wiht the openform statement applying the formname.
If it is possible can someone point me in the right direction of handling this.
Advanced thanks.
Code:
If Question = Incomplete Then
AnswerNextOne
Else
ReplyIfKnown
End If
cu Swatty
-
Oct 28th, 2002, 09:41 AM
#2
Fanatic Member
Dim frm as Form
Set frm = New FormName
frm.setfocus
VB 6.0, Access, Sql server, Asp
-
Oct 28th, 2002, 10:30 AM
#3
Thread Starter
Frenzied Member
No luck.
With the setfocus statement it sets the focus to that form which is under another one with dialog view (modal) .
What i would like is to create an instance of that form and show it modaly (acDialog).
If someone could help me.
Code:
If Question = Incomplete Then
AnswerNextOne
Else
ReplyIfKnown
End If
cu Swatty
-
Oct 29th, 2002, 05:32 AM
#4
Thread Starter
Frenzied Member
Code:
If Question = Incomplete Then
AnswerNextOne
Else
ReplyIfKnown
End If
cu Swatty
-
Oct 29th, 2002, 03:53 PM
#5
Yeah you can. But its better to make an instance first.
I found it difficult to accomplish (although possible) and my grand Ideas went out the window when it killed Access (ran out of memory...)
Near enough as ralph posted, just need a public collection to hold the form open.
I can have a look an see if I have the code available..
Vince
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|