General information
Category:
Forms & Form designer
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only