Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make my report work correctly in other machine?
Message
De
24/08/2006 10:58:52
 
 
À
23/08/2006 11:37:36
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01147815
Message ID:
01148226
Vues:
20
I use the following program to clear printer info from all report files included in a project.
* Clear Printer Information in FRX
Local loFile, lnReportCount
lnReportCount = 0
Clear
MODIFY PROJECT ? NoShow NoWait    && Prompts for the Project Filename
* Loops into the Project Collection Object
For Each loFile In _Vfp.ActiveProject.Files 
	If loFile.Type = 'R'   		&& Checks for Report File Type
	   Wait Window 'Clearing Fields in: ' + loFile.Name TIMEOUT 1
	   Use (loFile.Name)
	   Go Top
	   Locate For ObjType = 1 and ObjCode = 53
	   If Found()
	      Replace Tag  with "", Tag2 with ""
	      lnReportCount = lnReportCount + 1
	      Use
	   ENDIF
	EndIf
EndFor
* Displays Process Summary
Wait Window AllTrim(Str(lnReportCount)) +; 
     ' Report(s) Modified in Project ' +;
      _Vfp.ActiveProject.Name
- Ravi Taxali
Visual FoxPro Made Simple An excellent book for beginners as well as experienced programmers
Never Forget Again. Setup Email Reminders.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform