Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing variabels between forms
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Passing variabels between forms
Divers
Thread ID:
00252373
Message ID:
00252373
Vues:
52
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 reply from form B is only Key variable

Anybody can help me??

-Frans-
-Frans Cahyadi-
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform