Hello Sir,
i am using
code
for minimize application.Code:DoCmd.RunCommand acCmdAppMinimize
It works properly when my form open in normal mode but in dialog mode it is not working.
Thanks in Advance
Hello Sir,
i am using
code
for minimize application.Code:DoCmd.RunCommand acCmdAppMinimize
It works properly when my form open in normal mode but in dialog mode it is not working.
Thanks in Advance
It should work, And probably the properites>other>Modal is yes, it should be no.
Properites>Other>Modal is no. but not working.
If u send me the mdb then i can do somthing, remove all confodential
i'm sending sample database for analysis.
SampleDB.zip
Hello sir, Plz help me. I have already sent Sample Database for analysis.
Thank You.
Sorry mate, i was too busy in my own new project. I have seen the situation and couldnt b able to resolve the same...it have a strange behaviour...hope someone knows it
When I first opened the db the minimize code would not work.
I closed and reopened and got an error about broken reference to MSCAL.OCX. I think that is something to do with a calendar. I just OK and the minimize code works.
I removed the VBA reference and now the minimize code not working. I opened the form from navigation pane and minimize code works.
The AutoExec macro opens form as popup (dialog mode) if the db is not trusted. The popup seems to be cause of issue. Why should trusted or not trusted determine how form opens?
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
it's only my sample database. in my orignal database when it is not trusted msg displayed for making trusted. after db become trusted everyfunction works properly except minimizing application. I want, it should work in trusted db on dialog mode (It works properly in normal mode). Is it possible?
Apparently not. I just tested it with VBA opening form in Dialog and it also fails. Maybe has something to do with fact Dialog suspends code execution in the calling procedure.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
What Should I have to do on VBA Code.
Thank You
It doesn't work when form is opened in dialog mode. Period.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Do you know any causes of this behavior?
I presume it is how Access is programmed. Have to ask Bill Gates why.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.