Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with command line
Message
 
 
To
03/03/2012 23:36:46
Reza Meamar
Homa Programming Group
Shiraz, Iran
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01537169
Message ID:
01537181
Views:
61
>>Try this adjustment.
>>
>>
>>RETURN (["CrsSel]+PADL(ALLTRIM(STR(thisform.PageFrame1.ActivePage)),2,"0")+["])
>>
>>
>>IOW return the string you want and not the value stored there.
>
>So, I changed my form method content ( thisform.z_CN() ) to :
>
>RETURN (["CrsSel]+PADL(ALLTRIM(STR(thisform.PageFrame1.ActivePage)),2,"0")+["])
>
>and command line to :
>
>      replace TkCode WITH 1 IN EVALUATE(thisform.z_CN())
>
>but i get Invalid subscript reference error.
>what about this command?
>thanks

Try
RETURN "CrsSel+PADL(ALLTRIM(STR(thisform.PageFrame1.ActivePage)),2,"0")
replace TkCode WITH 1 IN  (thisform.z_CN())
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform