Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report to file called from asp
Message
From
05/10/2005 14:05:08
 
 
To
05/10/2005 13:24:01
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01056377
Message ID:
01056400
Views:
33
Bill -

With VFP9 is it possible to use the REPORT FORM command to send a report to an ascii file from a VFP com server called from an ASP page? With VFP6 this was not possible due to threading issues with the VFP report engine. Has this been fixed in Version 9?

The answer may be found in the help file, in the "Changes in functionality" topic:

REPORT FORM and LABEL commands are no longer automatically prohibited as user-interface-related commands in COM objects compiled into DLLs, when you run the commands in object-assisted mode. The restriction still applies to these commands when they are run in backward-compatible mode. (The topic Selecting Process Types explains why user-interface-related commands are prohibited in DLLs.) This change is not applicable to multi-threaded DLLs. A number of user-interface-related facilities also are not available in DLLs (whether single- or multi-threaded). For example, the TXTWIDTH( ) Function and TextWidth Method depend on a window handle to function, so they are not available in a DLL. The CREATE REPORT - Quick Report Command relies on the same facilities as TXTWIDTH(), and therefore is not available in a DLL. However, in many instances, creating custom output using a ReportListener does not require any user-interface activity, so a REPORT FORM or LABEL command can now be used productively in a DLL. Using the SYS(2335) - Unattended Server Mode function to trap for potential modal states, as well as the new SET TABLEPROMPT Command, is recommended.

- Colin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform