Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass a variable value from form to .prg file
Message
 
 
To
29/01/2002 06:26:13
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00598689
Message ID:
00613181
Views:
24
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
Previous
Reply
Map
View

Click here to load this message in the networking platform