|
-
Jul 16th, 1999, 07:32 PM
#1
Thread Starter
New Member
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?
-
Jul 16th, 1999, 07:45 PM
#2
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|