Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Confirm and fix expression builder bug using dtoc(datefi
Message
De
25/11/2005 09:29:49
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
25/11/2005 09:17:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Divers
Thread ID:
01072049
Message ID:
01072067
Vues:
32
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform