Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preserving user's choice
Message
 
 
To
25/06/2007 12:08:06
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01235348
Message ID:
01235390
Views:
17
>I would use a slightly different approach. Create a table with a field to store each report name and a field to store the printer name (if you don't store the table locally, then perhaps a username or workstation name as well). Create a form to allow the user to select what printer each report will print to. When you print, check the table for the report and if it is found, assume that printer, if no match is found, go to the default printer (for those reports that don't require a specific printer to print to or the user has not made a selection for yet).
>

Unfortunately, PROMPT clause doesn't seem to preserve the user's choice. How can I find out what was selected if I'm using PROMPT clause?

BTW, using llPrinted idea for Preview worked fine. I now just need to either somehow reproduce the PROMPT dialog or figure out the selected printer from it.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform