Results 1 to 3 of 3

Thread: opening a form

  1. #1
    Join Date
    Nov 2003
    Posts
    32

    Unanswered: opening a form

    Hiii,

    I hava a combo box on one form. Based on the value selected from that combo box, i need to dispaly particular record on another form.

    Please help me in this matter. Do i need to pass the value from one form to another form? Do i need to declare public variable to do this?

    Thanks

    Annam

  2. #2
    Join Date
    Nov 2003
    Posts
    267
    You could declare a public variable, but they should be used minimally (typically not encouraged in many situations)

    You could leave the first form open and when you open the second form just reference the combo box

    forms!FormName!ComboBoxName


    Or you could use the OpenArgs optional argument of the OpenForm command. In this argument you can pass any value to an opening form

    S-

  3. #3
    Join Date
    Nov 2003
    Posts
    32
    Thanks for your help

Posting Permissions

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