
#CONTROL What am I doing wrong
Hi Robert,
On Wed, 18 Jun 1997 15:14:59 -0600, Roberto Ivon Dibildox
Quote:
>#CONTROL(TodayDate,'Today string control'),REPORT
> CONTROLS
> END
>#LOCALDATA
>MyDate LONG
>#ENDLOCALDATA
>#AT(%ProcedureSetup)
>MyDate = TODAY()
>#ENDAT
> I am trying to use it in the report procedure template,
>it works as expected but it won't initialize the string control
Change this:
#LOCALDATA
MyDate LONG
#ENDLOCALDATA
to
#AT(%LocalDataDeclaration)
MyDate LONG
#ENDAT
It should work. For some reason, it will take the standard picture
for the data declared within the #LOCALDATA and not use the picture
for the control. If you find another workaround, please let me know.
Best regards,
Arnor Baldvinsson
Allerup Edb
Tel: +45 4675 7122
Fax: +45 4675 7144
Denmark
http://www.icetips.com
Opinions are mine, and mine alone!