MajP
You've got your good things, and you've got mine.
- Local time
- Today, 11:16
- Joined
- May 21, 2018
- Messages
- 9,988
For those who have never worked with multiple form instances, here is a good example of how multiple form instances can have utility. It shows you one way you can manage the instances externally by opening and closing them from using the multi select listbox. Usually you would use something like this to be able to view and compare different records (two or more invoices, purchase orders, lists, employees).
There are other ways to manage your instances as discussed here:
The list on the left lets you open or close a form instance.
This is from the Northwind database and I have been using this data and looking at the blurry bitmaps for close to 30 years. I am so familiar with this employee table, that I kind of felt I knew these people. I dropped the images into chat and asked it to clean them up. What I found interesting was that Chat seemed to make everyone younger, thinner, and better looking even though I just asked it to clean up the image, put them in business clothes, and add a neutral background. The only one I played with with here is Suyama and said to make him look like an MMA fighter. OK, I actually went down the AI rabbit hole and made myself a Northwind dream team making all the women beautiful and the men fit and handsome.
The referenced thread discusses an issue with forms not closing when you remove all pointers to an instance. Not saying it is not correct, but so far I have not seen a reproducible example demonstrating this problem. This example shows that simply removing the reference to the form held in the collection the form will close the form.
There are other ways to manage your instances as discussed here:
Closing Form Instances
A few of us were putting heads together the other day to resolve some difficulties around closing form instances and I thought I'd report back. What's new recently in the experience of several of us is that apparently, clearing a reference to a form instance is no longer sufficient to close...
www.access-programmers.co.uk
The list on the left lets you open or close a form instance.
This is from the Northwind database and I have been using this data and looking at the blurry bitmaps for close to 30 years. I am so familiar with this employee table, that I kind of felt I knew these people. I dropped the images into chat and asked it to clean them up. What I found interesting was that Chat seemed to make everyone younger, thinner, and better looking even though I just asked it to clean up the image, put them in business clothes, and add a neutral background. The only one I played with with here is Suyama and said to make him look like an MMA fighter. OK, I actually went down the AI rabbit hole and made myself a Northwind dream team making all the women beautiful and the men fit and handsome.
The referenced thread discusses an issue with forms not closing when you remove all pointers to an instance. Not saying it is not correct, but so far I have not seen a reproducible example demonstrating this problem. This example shows that simply removing the reference to the form held in the collection the form will close the form.