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:46:00
 
 
To
18/10/2004 16:13:36
Aldo Lavin
H. Ayuntamiento de Acapulco
Acapulco, Mexico
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00952400
Message ID:
00952443
Views:
8
Thanks for repsonse.

If I use you code I still get only one line and nothing after selection it? Any suggestions?

>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
Reply
Map
View

Click here to load this message in the networking platform