Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing variabels between forms
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Passing variabels between forms
Miscellaneous
Thread ID:
00252374
Message ID:
00252374
Views:
50
In making a system, I am affraid to use a lot of global/public variable, cause it's can decrease the performance of the system. Is that right??

The problem is I want to pass the variabel between forms and I don't want to use global/public variable. Is that possible?. Cause in C and FoxPro are possible to do this.

The scenario is like this:
In form A, there is a "search" button, if this button is pressed, it will call form B. Form B is used for searching database. If the user clicks the record, form B will be closed and will reply the key that user choose to form A. The problem is I want to use form B as a flexible form, so form B can search every database and table. I only want to pass variables to form B.
Variables that are needed in form B are:
1. Variable for database's name
2. Variable for table's name
3. Variable for fields
4. Variable for key

Variable that will be replied from form B is only Key variable

Anybody can help me??

-Frans-
-Frans Cahyadi-
Reply
Map
View

Click here to load this message in the networking platform