Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Going mad with reports
Message
From
19/03/2015 13:32:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Going mad with reports
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01616976
Message ID:
01616976
Views:
50
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 ?
Next
Reply
Map
View

Click here to load this message in the networking platform