Gerard...
Have you considered instead making the call from the Init method? Or the refresh, if the caption is prone to change?
Scott
>Hi,
>Within form designer, I'm trying to set up a function to display the caption for a field name. Basically, this function, at run time, goes awau to a file and gets a caption based on a parameter. Function as follows:
>
>=ScreLookup('SomeTexthere')
>
>This works ok, but on the design screen, the minute I put in the = sign (to work as a function otherwise it takes the text of the function as the caption) the caption becomes invisible, so I dont know if I have ANY caption there or not.
>Is this right and any way of suppressing it.
>regards,
>Gerard
Scott D. Grabo
Chief Information Officer
Occupational Health Group
First Advantage Corporation