Hi bharons
the vartype of the argument of substr() is character.
SUBSTR( ) Function
SUBSTR(cExpression, nStartPosition [, nCharactersReturned])
You are using the val() function in the argument of substr() and the result of val() is numerical (not character).
Thanks a lot for your explanations. I will go deeper in this stuff and I will adapt my app where it is needed.
For the time beeing, I'm really happy for the tips that the print out are not longer cut.
KR Christoph
Hi Chriss, hi Tom
I undid the changes in the screen resolution and did the following changes in my app (main.prg):
PUBLIC DPI AS DPIAwareManager
...
SET PROCEDURE TO C:\projekte\PTKBLOKA\dpiawaremanager additive
DECLARE INTEGER SetProcessDPIAware in WIN32API
=SetProcessDPIAware()
m.DPI =...
Hi Chriss,
It seems, it runs well with the settings in the Windows resolution...
But I would like to test also your proposal. Do you have a code example with the dpi awareness manager for using a report?
Thx in advance
Christoph
Hi all,
I have a problem with the screen scale value in Windows and the printer output scale. Some of my users are using a screen scale of 125%. In this case, the output of a report of an Foxpro applicastion is also scaled to 125% and the output doesn't fit to the paper size.
Is there an option...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.