Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Used a define in form object property
Message
 
À
29/08/1996 17:38:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00006898
Message ID:
00006953
Vues:
74
>It will not work. The #Define directive has been discussed here several times. #Define is a compile directive. It replaces all occurences of the string "_DefineCaption" with the string "1" before compilation. This meens that your compiled text will be:
>=MYCAPTION(1)
>So, MyCaption will always return "String1". You can't use here a constant. You must use a variable or a form's property.

Hi Paul
that is what i want because in real life the _DefineCaption represente a record number for a table and i passed a nother parameter (variable) for the fields of the table(fields1 or fields2) fields1 = French caption and fields2 = English caption

My Problem is that "_DefineCaption" was not replace by "1"
Do you have an idea why?

Thank's In Advance
Rock
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform