Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2007
    Location
    Columbia SC
    Posts
    81

    Unanswered: Passing values between Forms

    Hey,
    Is there any way to pass parameter between forms.
    I have tried with
    DoCmd.OpenForm stDocName, , , stLinkCriteria
    passing stLinkCriteria to subform. But i cant recieve that value there?
    Please let me know if there could be another way to acomplish this task

  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    What are you trying to pass?
    In the above you are utilizing the open criteria of a form. This would be useful, for example, if you wanted to open a form at a specific record.

    If you expand on what you are trying to achieve then I'm sure that someone will be able to provide you with an answer
    George
    Home | Blog

  3. #3
    Join Date
    Jul 2007
    Location
    Columbia SC
    Posts
    81
    I was trying to pass value from parent form to sub form.
    Now i have found a way. and its working pretty good.

    I am using fifth argument of
    doCmd.OpenForm

    and on sub form i m using
    me.OpenArgs

    Thanks though.

Posting Permissions

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