Results 1 to 4 of 4
  1. #1
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Passing OpenArgs as Criteria not working for me! (A2k (9.0.4402) SR-1)

    Passing OpenArgs as Criteria not working for me!

    A2k (9.0.4402) SR-1

    I have two forms, Form A and Form B with a button on each that opens Form C. (trying to reuse objects)

    With open arguments in each Form A and B, I

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Passing OpenArgs as Criteria not working for me! (A2k (9.0.4402) SR-1)

    It's possible that things aren't executing when you think they are, but before we jump to that conclusion, if you're trying to populate a listbox based on the value you stuffed into Application (not the best name for a field or control, by the way) you probably need to requery the listbox after you set the value of Application.
    Charlotte

  3. #3
    New Lounger
    Join Date
    Apr 2001
    Location
    new providence, New Jersey, USA
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Passing OpenArgs as Criteria not working for me! (A2k (9.0.4402) SR-1)

    As Charlotte says, you need to requery. I just completed a project using Openargs to almost all forms without a problem.

    Elizabeth <img src=/S/groovin.gif border=0 alt=groovin width=21 height=21>

  4. #4
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Passing OpenArgs as Criteria not working for me! (A2k (9.0.4402) SR-1)

    Thanks Charlotte

    Private Sub Form_Load()
    Me!Application = Me.OpenArgs
    Print_Report.Requery
    End Sub

    John

Posting Permissions

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