>>>To reproduce:
>>>
>>>1. Run the commands:
>>>
>>>
CREATE CURSOR ko ( akuupaev d )
>>>SET SYSMENU ON
>>>CREATE REPORT test
>>>
>>>2. Create field containing expression dtoc(ko.akuupaev) and save this field.
>>>
>>>You can use the following keys for this:
>>>
>>>Alt+R
>>>C
>>>F
>>>dtoc(ko.akuupaev)
>>>Ctrl+W
>>>
>>>Observed result:
>>>
>>> alias is not found error
>>>
>>>Applies to VFP 9
>>>
>>>It seems that there is a bug in expression builder code which determines expression alias.
>>>
>>>Any idea how to fix this ?
>>
>>'Cancel'
>>
>>Actually I wouldn't use alias in report.
>
>Cetin,
>
>I need to use alias for showing report parameters in report title band, like:
>
>Beg. date: ko.begdate
>End. date: ko.enddate
No you don't. ko_begdate, ko_enddate would work just fine with local variables created before calling report (or ko could be an object name, need not be an alias, simply scatter to name ko and it wouldn't error I think). But you can if you want to (press 'Cancel' when that dialog comes up.
Cetin