Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can not get it right
Message
De
01/02/2006 13:57:03
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01092465
Message ID:
01092483
Vues:
15
Are the mismatched quotes an error in your code, or just in your post?
with evaluate('m.toThis." + m.lcObjName)
If in code... doesn't your syntax coloring look funny there?

>Hi everybody,
>
>It's easy to solve for someone else, but for myself I'm stumbled. I have a program, where I'm passing an object reference. In that program I add a new object to the passed object. Now I want to access this newly added object. Would you please help me out with the syntax?
>
>
>lcObjName ="o" + chrtran(alltrim(cReportCategory.ccode_description),space(1),"") + "bar"
>
>		toThis.add(m.lcObjName, "cBar")
>		
>		with evaluate('m.toThis." + m.lcObjName)
&& Error here
>
>toThis is an object reference. lcObjName is the name for the newly created object property of toThis
>
>Thanks in advance.
Paul A. Busbey
Victoria Insurance
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform