ATOUTFOX
COMMUNAUTÉ FRANCOPHONE DES PROFESSIONNELS FOXPRO
Visual FoxPro : le développement durable

Forum AtoutFox : Re: Fusion de report   

Sujet

rss Flux RSS des derniers messages

Vous devez vous identifier pour pouvoir poser une question ou répondre.

mer. 01 février 2012, 20h32

O.Abderrazak
Maroc Maroc

atoutfox.public.association

Re: Fusion de report

Merci.
Je viens de lire que la question est déjà posée, désolé.

que pensez vous de ceci :

Another interesting capability of _ReportListener is chaining reports. The AddReport method adds a report to the custom ReportFileNames collection. You pass this method the name of a report and optional report clauses to use (such as the RANGE clause) and a reference to another listener object. The RemoveReports method removes all reports from the collection. RunReports runs the reports; pass it .T. for the first parameter to remove reports from the collection after they're run and .T. for the second parameter to ignore any listeners specified in AddReport. Here's an example that runs two reports as if they were a single one:
loListener = newobject('_ReportListener', ;
home() + 'ffc\_ReportListener.vcx')
loListener.ListenerType = 1
loListener.AddReport('MyReport1.frx', ;
'nopageeject')
loListener.AddReport('MyReport2.frx')
loListener.RunReports()

Site source : http://www.code-magazine.com/article.aspx?quickid=0404032&page=2

Je pense que c'est une solution, sauf que je ne maitrise pas bien l'anglais pour tout comprendre.

Permalink : http://www.atoutfox.org/nntp.asp?ID=0000008105
20 286 messages dans le forum • Liste complète des messages

www.atoutfox.org - Site de la Communauté Francophone des Professionnels FoxPro - v3.4.0 - © 2004-2026.
Cette page est générée par un composant COM+ développé en Visual FoxPro 9.0-SP2-HF3