whenthegeeseinvade
Registered User.
- Local time
- Today, 02:32
- Joined
- Nov 12, 2008
- Messages
- 39
Morning everyone
I'm trying to create an elegant way of switching between open forms in my database.
I thought that a listbox that holds the names of all open forms could be ever present on the screen (like quickbooks which I also use).
I've had a good look around but I can't quite figure out how to get it to work. I've found some code which queries the msysobjects table
===============
SELECT MsysObjects.Name AS DisplayName FROM MsysObjects WHERE ( ((MsysObjects.Type)=-32768)) ORDER BY MsysObjects.Name
===============
but I can't figure out how to test if the form is loaded or how to show the caption rather than the form name.
It wouldn't suprise me if someone has already answered this here, but I'm afraid I can't find it.
Any help would be fab.
Many thanks,
Larry
I'm trying to create an elegant way of switching between open forms in my database.
I thought that a listbox that holds the names of all open forms could be ever present on the screen (like quickbooks which I also use).
I've had a good look around but I can't quite figure out how to get it to work. I've found some code which queries the msysobjects table
===============
SELECT MsysObjects.Name AS DisplayName FROM MsysObjects WHERE ( ((MsysObjects.Type)=-32768)) ORDER BY MsysObjects.Name
===============
but I can't figure out how to test if the form is loaded or how to show the caption rather than the form name.
It wouldn't suprise me if someone has already answered this here, but I'm afraid I can't find it.
Any help would be fab.
Many thanks,
Larry