Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rewrite code
Message
From
20/06/2006 05:02:05
 
 
To
20/06/2006 04:50:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01130156
Message ID:
01130173
Views:
17
Keep in mind that this code will works only if in thisform.list1.value you have values from Q1 to Qxxxx

>hi,
>thanks again.
>
>>Better:
>>
>>LOCAL lnFor
>>thisform.text42.Value = thisform.list1.value
>>CLOSE all
>>SELECT 0
>>USE dnc
>>lnFor                   = VAL(SUBSTR(thisform.text42.Value,2))
>>LOCATE FOR flag1        = m.lnFor
>>ThisForm.Label1.Caption = q1
>>ThisForm.Label2.Caption = q11
>>CLOSE all
>>USE answers
>>
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform