Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to get a replacment Expression Builder to work
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00185380
Message ID:
00185957
Views:
25
>>
>>I need to use the _GetExpr, because in the report writer, in the window that appears when you are adding a field (built in foxpro window) there is a [...] button that when pressed calls up either the built in expression builder or if you have set the _GetExpr to your own app, then it calls up yours. The problem is that when you set an expression in the built in expression builder and close it, the previous window has an expression text box that is updated, but this does not happen (or at least I cannot figure out how to make it happen) when you use your own expression builder.
>
>OK, silly question: does your replacement expression builder return a string?

Yes it does...it actually works if you do the command:
GETEXPR to x
and x will contain the value I returned.

I think I have discovered a workaround (not a great one though). Just before I exit my custom expression builder I send the keyboard commands appropriate to the area of the report writer it was called from, that do a paste in the report expression textbox. For example in the report field builder I have to do a backtab and then a ctrl+v. I would love to not have to use be using the keyboard command so if you know of a better way that would be great.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform