473,416 Members | 1,557 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

Looking for someone with experience building apps with multiple instancesof forms open

Looking for someone with experience building apps with multiple
instances of forms open. I am building an app for a nonprofit
organizations case workers. They provide services to the elderly.

so far I have built a traditional app, switchboard, forms, etc.
Part of this app is to automate the forms they previously prepared
manually.

After the app was built and works just fine, I find out there are
several case managers using MS word and forms built in Word. One
feature they like is the ability to have multiple copies of a form open
at the same time. They tell me this happens when they are in the
office, working on one case and the phone rings and they need to address
this other caller.

I am aware of technically how to open multiple copies of a form.
I am also aware that when the original/1st copy closes, so do all other
copies.

So has anyone out there built an app where there can be multiple copies
of a form that can be closed in any sequence?

Also how do you show to the user the forms currently open? Did you
build a special "open forms list" from which they can select a form and
bring up the selected form? (kinda like the list that word keeps of
open documents)

Any other tips or traps?

Thank you

Bob
Jan 23 '07 #1
6 2621
MLH
When you address this NG and use the word Form or Forms
interchangeably referring to physical paper forms your IRS 501.C.3
has stacked on their shelves and to Access Form objects and
Report objects, you introduce a level of confusion that some folks
just don't wanna tackle. I'd consider reposting a more clear statement
of your question. Not being hateful - just stating a fact.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Tue, 23 Jan 2007 09:54:18 -0600, Bob Alston <bo********@yahoo.com>
wrote:
>Looking for someone with experience building apps with multiple
instances of forms open. I am building an app for a nonprofit
organizations case workers. They provide services to the elderly.

so far I have built a traditional app, switchboard, forms, etc.
Part of this app is to automate the forms they previously prepared
manually.

After the app was built and works just fine, I find out there are
several case managers using MS word and forms built in Word. One
feature they like is the ability to have multiple copies of a form open
at the same time. They tell me this happens when they are in the
office, working on one case and the phone rings and they need to address
this other caller.

I am aware of technically how to open multiple copies of a form.
I am also aware that when the original/1st copy closes, so do all other
copies.
I was not aware that one could open more than a single instance of
a Form object in a single instance of the database. Perhaps if you
could share with us how you do that?
>
So has anyone out there built an app where there can be multiple copies
of a form that can be closed in any sequence?

Also how do you show to the user the forms currently open? Did you
build a special "open forms list" from which they can select a form and
bring up the selected form? (kinda like the list that word keeps of
open documents)

Any other tips or traps?

Thank you

Bob
Jan 23 '07 #2
MLH wrote:
When you address this NG and use the word Form or Forms
interchangeably referring to physical paper forms your IRS 501.C.3
has stacked on their shelves and to Access Form objects and
Report objects, you introduce a level of confusion that some folks
just don't wanna tackle. I'd consider reposting a more clear statement
of your question. Not being hateful - just stating a fact.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

>I was not aware that one could open more than a single instance of
a Form object in a single instance of the database. Perhaps if you
could share with us how you do that?
************************************************** **

I have restated my posting to try to make it clearer which kind of form
- Access form, paper form or Microsoft Word document/form I am referring to.
Looking for someone with experience building apps with multiple
instances of Access forms open. I am building an app for a nonprofit
organizations case workers. They provide services to the elderly.

So far I have built a traditional Access app, switchboard, Access
forms, etc.
Part of this app is to automate the paper forms they previously prepared
manually.

After the app was built and works just fine, I find out there are
several case managers using MS word and electronic forms using MS
Word. One
feature they like is the ability to have multiple copies of a MS Word
document/form open
at the same time. They tell me this happens when they are in the
office, working on one case and the phone rings and they need to address
this other caller.

I am aware of technically how to open multiple copies of an Access form.
I am also aware that when the original/1st copy of an Access form
closes, so do all other
copies.

So has anyone out there built an app where there can be multiple copies
of an Access form that can be closed in any sequence?

Also how do you show to the user the Access forms currently open? Did
you
build a special "open forms list" (list of open Access forms) from
which they can select an Access form and
bring up the selected Access form? (kinda like the list that MS Word
keeps of
open documents)

Any other tips or traps?

Thank you

Bob

Also, here is a link to information about opening multiple copies (a
more correct word is instances)of a single Access form:

http://support.microsoft.com/default...;en-us;Q135369

http://allenbrowne.com/ser-35.html

Jan 23 '07 #3
>From a long time ago:

Dim aForms(1 To 10) As [Form_MDAC and ESO]

Sub CreateInstances()
Dim z As Long
For z = LBound(aForms) To UBound(aForms)
Set aForms(z) = New [Form_MDAC and ESO]
aForms(z).Caption = aForms(z).Caption & "_" & z
aForms(z).Visible = True
Next z
DoCmd.RunCommand acCmdWindowCascade
End Sub

Sub RemoveInstances()
Erase aForms
End Sub

Jan 23 '07 #4
MLH
<snip>
Thx 4 the link explaining the opening of multiple instances of a form.
Could be useful. Did Lyle's suggestion solve your dilemma on closing
just one of them, keeping the rest open?
>
Also, here is a link to information about opening multiple copies (a
more correct word is instances)of a single Access form:

http://support.microsoft.com/default...;en-us;Q135369

http://allenbrowne.com/ser-35.html

Jan 24 '07 #5
MLH wrote:
<snip>
Thx 4 the link explaining the opening of multiple instances of a form.
Could be useful. Did Lyle's suggestion solve your dilemma on closing
just one of them, keeping the rest open?
>>

Also, here is a link to information about opening multiple copies (a
more correct word is instances)of a single Access form:

http://support.microsoft.com/default...;en-us;Q135369

http://allenbrowne.com/ser-35.html

It appears that the info in the links would allow all instances to be
opened and closed independently.

The information on the above two links is useful but not complete for
what I need to avoid pioneering. Otherwise I wouldn't have posted. I
was really looking for someone who had done this previously in an
application where multiple different forms could have multiple instances
open.

Key issues:

1) how to you list/show the user the instances open and allow them to
select one to bring to the top (perhaps some kind of menu selection that
would open up a popup form of open form instances).

2) How do you tag each instance so that whatever you do can be uniquely
identified. For example if these multiple instances are for multiple
customers, perhaps the customer name needs to be accessible in the
caption of the instance or in the list mentioned in #1 above.

I am sure there are other issues with trying to do this. I really don't
want to pioneer here. If others have done this successfully and are
willing to share, then I will pursue a bit further. Otherwise it isn't
worth it to do the R&D likely required right now.

Bob
Jan 24 '07 #6
Bob Alston wrote:
Key issues:

1) how to you list/show the user the instances open and allow them to
select one to bring to the top (perhaps some kind of menu selection that
would open up a popup form of open form instances).

2) How do you tag each instance so that whatever you do can be uniquely
identified. For example if these multiple instances are for multiple
customers, perhaps the customer name needs to be accessible in the
caption of the instance or in the list mentioned in #1 above.

I am sure there are other issues with trying to do this. I really don't
want to pioneer here. If others have done this successfully and are
willing to share, then I will pursue a bit further. Otherwise it isn't
worth it to do the R&D likely required right now.
Lyle's example used an array to hold each instance of a form. Arrays are very fast and
Collections are slower. But with a Collection you can specify a "Key" value - a unique
String value to identify the particular Object that you add to the Collection.

Then you can use that "Key" as an ID value to refer to, perhaps, an array of additional
information on the object (maybe an Employee Name, Badge Number, etc...)

Then you can use the Collection to list open forms.

The Access Developers Handbook has a chapter on this technique.

--
'---------------
'John Mishefske
'---------------
Jan 26 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Angie | last post by:
Hello, My name is Angela Mastrodonato. I'm a web designer who would like the assistance of a php programmer. Some of my clients have requested more dynamic web sites, and I am in the beginning...
14
by: Matt | last post by:
Any progammers looking for a killer app to develop? How about a voice enabled forum? One of the most powerful, exciting, and engrossing experiences on the Internet is the Forum. The first great...
29
by: Lauren Wilson | last post by:
Does anyone know how the following info is extracted from the user's computer by a Front Page form? HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107...
4
by: Gene Hubert | last post by:
I'm looking for a good coding project for the purpose of getting to the point of feeling proficient in VB.NET programming. I've read a few books, written several test apps, and have prior...
12
by: amogan | last post by:
**If interested & qualified, please reply with your resume directly to amogan@google.com** Referrals are always welcome!! Network System Test Engineer - Mountain View This position is...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.