Senin, 30 Desember 2013

[MS_AccessPros] Issue with closing form

 

Hi All - Happy New Year
I am having an issue with closing a form.  The following code works great in all other uses but does work the same here.

On Error GoTo Form_Close_Err
    DoCmd.OpenForm "frmSysMaint", acNormal, "", "", , acNormal
    On Error Resume Next
    DoCmd.Close acForm, "frmDuplicateLicense"
    Exit Sub
Form_Close_Exit:
    Exit Sub
Form_Close_Err:
    MsgBox Error$
    Resume Form_Close_Exit

The SysMaint form launches just fine but when the close form command is used to close the current form -- both forms close.  I have tried close the DuplicateLicense form first then open SysMaint but get same results.
Any suggestions.   Access 2010 on a Windows 8.1 computer.
Rod

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar