Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Little problem
Message
From
31/01/1999 06:25:29
 
 
To
31/01/1999 00:33:17
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00182232
Message ID:
00182248
Views:
12
>Hey
>
>This refresh is good but the name of the combo is in
>the VAR.
>
>LOCATE FOR cnoproduit = tcNoprod
>lnComRec = recno()
>if FOUND( )
> Thisform.cbo1.listindex = lnComRec
>ENDIF
>
>I try this
>
> Thisform.&tcComboname.listindex = lnComRec
>How can i do this?
>

Several ways:

STORE lnComRec TO ('thisform.'+tcComboName+'.listindex')

or

Thisform.&tcComboname..listindex = lnComRec

>Thanks PP
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform