Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Close Acess

Discussion in 'Information Technology' started by Tom, Jul 28, 2006.

Tags:
  1. Tom

    Tom
    Expand Collapse
    Guest

    Hi all,

    I have a button to close my database:

    Private Sub cmdExit_Click()
    CloseCurrentDatabase
    End Sub

    I want that button to close access too, what code should I put in order to
    acheive that?

    Thanks,
    Tom
     
  2. Loading...

    Similar Threads Forum Date
    India Who says we have skeletons only in our closets? Breaking News Aug 22, 2014
    India After Badrinath, Kedarnath now Sikh shrine Hemkunt Sahib closed temporarily Breaking News Jun 28, 2013
    Grammer / Vyakarn Fateh multimedia forced to close for lack of funds Language, Arts & Culture Nov 21, 2012
    General The Closer Videos Jul 26, 2012
    Close Brush with the Law, a Personal Story Business, Lifestyle & Leisure Sep 24, 2011

  3. S Panja

    S Panja
    Expand Collapse
    Guest

    Shouldn't you Quit rather than Close?
    --
    ***************************
    If the message was helpful to you, click Yes next to Was this post helpful
    to you?
    If the post answers your question, click Yes next to Did this post answer
    the question?


    "Tom" wrote:

    > Hi all,
    >
    > I have a button to close my database:
    >
    > Private Sub cmdExit_Click()
    > CloseCurrentDatabase
    > End Sub
    >
    > I want that button to close access too, what code should I put in order to
    > acheive that?
    >
    > Thanks,
    > Tom
    >
    >
    >
     
  4. Tom

    Tom
    Expand Collapse
    Guest

    Yes, Thank you
    "S Panja" <SPanja@discussions.microsoft.com> wrote in message
    news:C33D9AC0-BB9C-4C5A-9B9C-4D6DFC3C2E44@microsoft.com...
    > Shouldn't you Quit rather than Close?
    > --
    > ***************************
    > If the message was helpful to you, click Yes next to Was this post helpful
    > to you?
    > If the post answers your question, click Yes next to Did this post answer
    > the question?
    >
    >
    > "Tom" wrote:
    >
    >> Hi all,
    >>
    >> I have a button to close my database:
    >>
    >> Private Sub cmdExit_Click()
    >> CloseCurrentDatabase
    >> End Sub
    >>
    >> I want that button to close access too, what code should I put in order
    >> to
    >> acheive that?
    >>
    >> Thanks,
    >> Tom
    >>
    >>
    >>
     
  5. Michael H

    Michael H
    Expand Collapse
    Guest

    Application.Quit



    "Tom" wrote:

    > Hi all,
    >
    > I have a button to close my database:
    >
    > Private Sub cmdExit_Click()
    > CloseCurrentDatabase
    > End Sub
    >
    > I want that button to close access too, what code should I put in order to
    > acheive that?
    >
    > Thanks,
    > Tom
    >
    >
    >
     

Share This Page