Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Going mad with reports
Message
De
19/03/2015 13:32:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Going mad with reports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01616976
Message ID:
01616976
Vues:
48
Hi all, I came into a strange behaviour.
I have a routine which prints my report by using pdfCreator, It worked quite fine till yesterday when I tried to make it working calling it from an external routine
Private all
	
	Restore From 'Memoria.mem'
        =OpenTables()
        Select 'wlistino'
	
	=checkFile(lcNomefile,JustFname(lcMyReport))
at this time the default path is set to the folder which contains the reports i need to launch and the tables i have to use. Tables are all opened

the problem is that when I call my report
                 If !File(THISform.reportTolaunch+Iif(!Empty(JustExt(THISform.reportTolaunch)),'','.frx'))
	       			=MessageBox(THISform.reportTolaunch,16,"report doe not exist")
				
                  Else
					try      		
					     Report Form (THISform.reportTolaunch) object type 0
					
                                       Catch to oerr
						=MessageBox(oerr.message)
						Display Memory to 'memoria.txt' NOCONSOLE 
					EndTry 
					
		..........			
When I launch it it gives me invalid path o file name... WHY ????

this pc is running under windows server 2012


this routine also worked fine I don't really know what could be happened.

Any Ideas ?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform