Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement