Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a property and using it in a drop down box
Message
From
18/10/2004 16:13:36
Aldo Lavin
H. Ayuntamiento de Acapulco
Acapulco, Mexico
 
 
To
18/10/2004 15:02:50
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00952400
Message ID:
00952436
Views:
10
Hi...
**************************************
=SQLEXEC(thisform.pconx,"select * from MyTable","cMyCursor")

thisform.AddProperty('myArray('+STR(RECCOUNT())+',1)') && Dimension for my array

COPY TO ARRAY thisform.myArray FIELDS "name"        && Copy my sql Results to the array

thisform.combo1.RowSourcetype= 5                                 && Type 5, Array
thisform.combo1.RowSource="thisform.myArray"	
************************************************************
I hope this help...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform