Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why the program is never called?
Message
From
30/08/2017 14:16:31
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MS SQL Server
Miscellaneous
Thread ID:
01653844
Message ID:
01653854
Views:
43
>>>Ok, after I removed that Print When expression I am now getting an ugly 'syntax error' with no explanation. Why REPORTS are so hard to debug?
>>>
>>>I put a breakpoint into that esppimg program but I still get 'Syntax Error' and it does not go into the program.
>>
>>I hate pictures in report.
>>What this function returns and why you need function?
>
>I give up :(((((((((((( Why would it now return 'Syntax Error' with only 'Ok' and 'Help' buttons? How would I know why does it return syntax error?

Maybe because it returns empty picture?
Let this function return some external picture and then test it.
Something like:
LPARAMETERS ....
IF EMPTY(param1)
   RETURN LOADPICTURE("d:\empty.bmp")
ELSE
   * original body of the function
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform