rikklaney1
Registered User.
- Local time
- Today, 12:06
- Joined
- Nov 20, 2014
- Messages
- 157
I have posted a couple questions her in the last week and have gotten tremendous help from the community. I have learned a number of tricks that I either didn't know or didn't think of. With that in mind I'd like to post several more little things.
First, is there an easy way to keep forms together? My main form uses movesize to set the position but then I click a button on the main form to open a secondary form it may be centered on the screen. Is there a quick way to keep them together or do I need to use movesize on each forms on open event?
Second. Same question for a msgbox.
Third, I use this code....
strFileName = Dir("\\s1wicis1\Local_DBs_Public\Laney PMSC\laney.ozx")
If strFileName <> "Laney.ozx" Then
DoCmd.OpenForm ("Maintenance")
End If
to kick people out when I need to make changes. I change the name of the file and then the "Maintenance" form just tells them they're about to be kicked and then closes the database after a minute. Is there a better way to do this?
and finally... the office screen itself. What's the best way to keep it hidden with popup forms? I've used some code to minimize it before but I'd like some suggestions. I want to thank all you guys for helping me learn Access and I look forward to seeing your ideas.
First, is there an easy way to keep forms together? My main form uses movesize to set the position but then I click a button on the main form to open a secondary form it may be centered on the screen. Is there a quick way to keep them together or do I need to use movesize on each forms on open event?
Second. Same question for a msgbox.
Third, I use this code....
strFileName = Dir("\\s1wicis1\Local_DBs_Public\Laney PMSC\laney.ozx")
If strFileName <> "Laney.ozx" Then
DoCmd.OpenForm ("Maintenance")
End If
to kick people out when I need to make changes. I change the name of the file and then the "Maintenance" form just tells them they're about to be kicked and then closes the database after a minute. Is there a better way to do this?
and finally... the office screen itself. What's the best way to keep it hidden with popup forms? I've used some code to minimize it before but I'd like some suggestions. I want to thank all you guys for helping me learn Access and I look forward to seeing your ideas.