Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2004
    Posts
    14

    Unanswered: Form closing problem

    Hi!

    Again I am seeking DBforum help.

    I am using MS Access 2000. I want to close that Form when I jump to report whenever I click a button. There is existing onClick event at the same time it is passing some unbound text value.

    Subho

  2. #2
    Join Date
    Oct 2003
    Location
    US
    Posts
    343
    Your question is too vague. Please rephrase and tell us in detail what exactly is the problem

  3. #3
    Join Date
    Jun 2004
    Posts
    14
    The question is very plain & simple and we have to add the 2nd operation in the macro part and it goes smoothly.

    So not to comment as vague if it is not very clear to u.

    Subho

  4. #4
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1

    Thumbs down

    If you want to close a form after you've opened a report use

    PHP Code:
      DoCmd.OpenReport "yourReportName"acViewPreview  ' to open the reoprt
      DoCmd.Close acForm, "yourFormName" 

Posting Permissions

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