FAQ #2613, published on 2002-12-31
WINDEV
I am trying to use the iPageHeightLeft() command. But it always returns zero. Why?
Some printing commands belong to the Report Editor and, therefore, don't apply to report code. That is the case with iPageHeightLeft(). How do you know whether a printing command is only applicable in a Report? Check the applicable component under Notes in the Online Help of your function. If the Component is WDxxxETAT.DLL, the command is specific to Reports. For the other printing commands the Component is WDxxxPRN.DLL.