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 15:35:01
 
 
To
25/11/2005 13:32:19
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Miscellaneous
Thread ID:
01072049
Message ID:
01072151
Views:
21
>Create your own expression builder, or use mine... which is the same old, but reverts to default datasession before actually showing:
>
* Proc GetEx
>*[2002/02/14 23:21:02] dragan -  replace the regular expression builder
>* with one that works in a default datasession, so it sees the open tables
>Lparameters cExpressionType, cErrorMessageText,  cDefaultExpression, cCaptionText
>Local lcGetEx, lcTemp, nDS
>nDS=set("datasession")
>set datasession to 1
>IF EMPTY(cErrorMessageText)
>	cErrorMessageText=""
>ENDIF
>IF EMPTY(cDefaultExpression)
>	cDefaultExpression=""
>ENDIF
>IF EMPTY(cCaptionText)
>	cCaptionText="Pick a field or compose expression"
>ENDIF
>
>
>lcTemp=""
>lcGetEx=_Getexpr
>set datasession to (nDS)
>_Getexpr=""
>
>* 2002.04.24 kicked out the type, because any type can go into a report.
>Getexpr cCaptionText To lcTemp Default cDefaultExpression
>* restore old
>_Getexpr=lcGetEx
>Return lcTemp
>
>
>Save this to a .prg and set _getexpr to it.

Dragan, how to add your code to VFP 9 report builder source code (to panelfieldexpr method?)
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform