Results 1 to 5 of 5

Thread: Access Project Problem

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2003
    Posts
    19

    Unhappy Access Project Problem

    Hi!

    I have an access project open, and if the PENDING command button is clicked, it needs to close the current access project and open another(which has its own set of forms and tables). Does anybody have an idea how to do this.

  2. #2
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697
    To close the current project use END then use SHELL to open the new project.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Oct 2003
    Posts
    19
    Does access 2000 have END and SHELL commands. I never knew that..Could you give me an example as how to do that

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Oct 2003
    Posts
    19
    Does access 2000 have END and SHELL commands. I never knew that..Could you give me an example as how to do that

  5. #5
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697
    You'll need to open the second app before the END command otherwise the first app will be closed and the SHELL command will not be run.

    VB Code:
    1. Private Sub Command1_Click()
    2. Shell "C:\SecondApp.exe"
    3. End
    4. End Sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width