Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with command line
Message
 
 
À
04/03/2012 01:45:00
Reza Meamar
Homa Programming Group
Shiraz, Iran
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01537169
Message ID:
01537199
Vues:
60
>>>>>>Try
>>>>>>
>>>>>>lcAlias = thisform.z_CN()
>>>>>>
>>>>>>replace ... IN (m.lcAlias)
>>>>>Yes, I know, but i want to do this in one line. ( for some reason ! )
>>>>
>>>>Does the above work? What is the reason - if two lines work, then let it be.
>>>
>>>because i have a form with a pageframe on it with 10 pages and i have at least 20 line in each page that have this command line in different shape :)
>>
>>If the code in 2 lines works and in 1 does not, then let it me extra lines - as long as it works.
>
>ok, i change my form method code to :
>
>RETURN (EVALUATE("CrsSel"+PADL(ALLTRIM(STR(thisform.PageFrame1.ActivePage)),2,"0")))
>
>and command line to :
>
>lcAlias = thisform.z_CN()
>replace ... IN (m.lcAlias)
>
What is the point of having evaluate there. What is crsSel1 or crsSel2
?
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform