Damien559424


Hello,

I have two questions around the report and printer setup

1 - We encounter a strange behaviour on two different computers when using the same software : in our software, we have a command button that do a "modify report" command, in order the user can modify his report.

When using this command button we have the "file / page setup" menu available.

On one computer, the standard "report properties" window appears.

On another computer, only the "page setup" window appears.

I want the "report properties" window to be shown all the time. Is there any way to do that

2 - Before beeing under Vista environnement, in the same "report properties" window, we could change the name of the printer. Now, it seems that this property is only in read only mode even if we open this window directly in Visual Foxpro 9.0 ("page layout" tab, Printer field) Is there a way to view a command button to change the printer in this window

Thank you for your help

Damien




Re: VFP9::Printer setup with 'modify report' problem

dni


I can be a security issue. You may check if user has enought rights to access printer.





Re: VFP9::Printer setup with 'modify report' problem

Damien

Hello and thank you for your answer.

The user used on my computer is already member of "administrator" group.

Can I do something better






Re: VFP9::Printer setup with 'modify report' problem

dni

From the Report menu, select Report Properties, then in the Protection tab, check if you have something "checked"...






Re: VFP9::Printer setup with 'modify report' problem

Damien

When I click this menu from fox pro, all boxes are checked, except "Page layout is not available" and "optionnal bands canot be changed". The same box are checked on another computer and it seems that it makes no trouble...

When I try to do the same through our sofware, I can't see the "protection" tab: I only have the "page setup" tab, and that is my problem.

Thank you for your help





Re: VFP9::Printer setup with 'modify report' problem

dni

Where is placed the report file It is shared Or each computer has different copies of report file




Re: VFP9::Printer setup with 'modify report' problem

Damien

Each computer have his own copy of each report. For developpement purposes, the reports location is "c:\dev\mysoft" (so it is not in "program file..." or such directory with virtual fonctionnalities on vista)



Re: VFP9::Printer setup with 'modify report' problem

dni

If you are running same aplication or exe file generated with same vfp version, and all computers have same files (not corrupted), I think it is something with OS. Anyway, only in next summer SP2 (with Vista support) for Vfp 9 will be ready. You may try SP2 CTP (but I do not reccomand):

http://www.microsoft.com/downloads/details.aspx FamilyID=CC84F749-A153-4929-8277-DEB9A2F8B0A5&displaylang=en






Re: VFP9::Printer setup with 'modify report' problem

Damien

Ok Thank you for your help. I'm waiting for that !