Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass a variable value from form to .prg file
Message
 
À
29/01/2002 06:26:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00598689
Message ID:
00613181
Vues:
25
Where do you put this code, in which Event?
I suggestion to assign properties in windows property because of you may put code miss Event,that code may not work.
such as :
in property window of combobox1 assign :
RowSourceType = 3
RowSource=SELECT FIELDNAME FROM TABLENAME WHERE FIELDNAME = MYVALUE INTO CURSOR MYCURSOR
ColumnCount = 1

*MYVALUE you must set PUBLIC variable or You may add new form Property instead of variable myvalue (ThisForm.myValue)

and then you put code into GotFocus Event of Combobox1
This.Requery()

icq# 74778615
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform