Results 1 to 2 of 2

Thread: Passing Parameters between forms

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 1999
    Location
    Decatur, AL US
    Posts
    14

    Post

    I'm trying to pass a parameter from one form to another. I have the parameter set as Dim as string (Dim StudentID as String) and I'm need to pass the same parameter to another form without losing it value.

    Plan and simple ... I'm trying to search for a StudentID ... find it using SQL ... and pass it to another form for processing.

    ANY IDEAS?

  2. #2
    New Member
    Join Date
    Jul 1999
    Posts
    2

    Post

    You can either set a global scope variable with the ID in it or you can expose a public variable on the first form that has the ID value, hide the first form when it is done, then have the second form read the public variable off the first form, before unload it. Syntax would be something like
    StudentID=Form1.StudentID

    Bash

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