Visibility problem in access form

brokkel

Registered User.
Local time
Today, 20:30
Joined
Aug 13, 2008
Messages
10
Hi all,

I have a visibility problem in one of my access forms. I go from form A to form B, but, for some reason part of form A remains visible on form B ... Any idea how I can get rid of this? please check the screenshots
 

Attachments

  • picture1.jpg
    picture1.jpg
    87.2 KB · Views: 89
  • picture2.jpg
    picture2.jpg
    72.7 KB · Views: 97
Never seen that before... How are you loading them? Are you alternating between Visible and Hidden? Perhaps posting the code you are using to flip between the Forms?
 
I think you are on to something:

Private Sub chat1_Click()

Public_autonumber = Me.autonumber1.Value
Public_requeststring = Me.comment1.caption

DoCmd.OpenForm "chatpanel"
DoCmd.Close acForm, "totaluserreqpanel"
DoCmd.Close acForm, "VM TOOL"


so the form I'm closing is Totaluserreqpanel, the form I'm opening is Chatpanel. But I have some code running on the closing of the Totaluserreqpanel as well, saying that VMtool, should open (if you close it normally). However, in this case, I just want totaluserreqpanel to close, and open the chatpanel. That's why I added that VMtool should be closed as well again). It does seem that this VMtool edge lines up perfectly with the problem you can see in the screenshot, so it has to be due to this.

But don't really see any other way of doing this, apart from creating a close button myself, and hiding the normal close button (at the right top of the screen) ...
 
nevermind, I changed it to :

DoCmd.Close acForm, "totaluserreqpanel"
DoCmd.Close acForm, "VM TOOL"
DoCmd.OpenForm "chatpanel"


and now it works perfectly ... carry on :-)
 

Users who are viewing this thread

Back
Top Bottom