Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not save printer in Report
Message
De
14/04/2005 15:25:32
 
 
À
14/04/2005 14:08:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01004218
Message ID:
01004854
Vues:
18
The ph_Report ProjectHook is ready made.

Steps to adding a ProjectHook to a Project.
1. Unzip the ph_Report.zip contents into say the Visual FoxPro folder. Therefore it is available to any project.
2. Open the Project file in the Project Manager.
3. Place the mouse below the Build button and right click to open a content menu.
4. Select the "Project Info..." option.
5. On the "Project Information" dialog, click the Project tab on top.
6. On the Project page, check the Project Class checkbox. When this happens a Open Class dialog will appear.
7. Locate the ph_Report.vcx, and select it. The class "ph_ClrReport" will appear in the listbox to the right.
8. Click Ok button. Once back to the Project Info dialog, the Class and CLass Library will appear in the Textbox.
9. Click then "OK" button.
10. You need to close the Project Manager and reopen it for the projecthook to be fully loaded.

When you preform a build, the BeforeBuild event will be called, and remove the printer information from any report referenced in the project file.

Warning: Do Not add the projecthook class library to the project like other class libraries. This will cause an error during the build.

Hope this helps.

>Thanks for the pointer. My problem is I do not understand how to use a projecthook class. I looked at the online help and it was not very helpful.
>
>Any help appreciated.
>
>Thanks
>
>>You can download a ProjectHook class to strip the printer information from all reports added project.
>>
>>http://www.glrsoftware.com/download/download.asp?file=pjxhooks/ph_Report.zip
>>
>>
>>>VFP 7 and 9
>>>
>>>I have an application and I noticed the device and and output information is saved in the EXPr memo field of an FRX (also in TAG1 and maybe TAG2 in some cases). A user was having problems when some one else got a new PC and original printer was attached to it. She was accessing the printer via a network. Originally she was having problems printing. A new printer was installed and a new printer name was attached to the PC and a new name was used and she (today a least) can print.
>>>
>>>My questions.
>>>
>>>1. Did the fact the a device and ouptut printer name are in the FRX's cause the problem?
>>>2, Why is the information included in the memo fields?
>>>3. Does/should the information have to be there?
>>>4. If the printer information does/should not need to be included in the EXPr, TAG2, or TAG2 memo filelds how do I remove it?
>>>5. If printer does/should not be in the memo fields how do I ensure they are not include?
>>>
>>>If I forgot to ask a relevant question feel free to include the information.
Greg Reichert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform