Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Confirm and fix expression builder bug using dtoc(datefi
Message
From
25/11/2005 09:29:49
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
25/11/2005 09:17:28
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Miscellaneous
Thread ID:
01072049
Message ID:
01072067
Views:
30
>>>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform