Never mind, my fault (of course) I suddenly realized i have an image in the report which was linked to a Path not existing on that PC
Sorry
Alessio
>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 ?