Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy file command
Message
From
20/09/2002 00:46:26
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00702536
Message ID:
00702608
Views:
9
Hi Nadya,

I forgot to tell you that I had to put ' in my file's name like this one :

filename="Account'Activity'For'"+act1m+"'From'"+strtran(dtoc(dat1m),"/","-")+"'to'"+strtran(dtoc(dat2m),"/","-")+;
"'report'created'on^"+strtran(strtran(strtran(ttoc(datetime()),"/","-"),":","-")," ","^")+".pdf"

If I use SPACE instead this ' to seperate the words, this command will give me an error :

set printer to name "Acrobat PDFWriter"
report form finabala noconsole to file &filename

the name of the file created is:

account'activity'for'11100-00'from'01-01-2002'to'09-18-2002'report'created'on^09-18-2002^08-17-26^pm.pdf

I hope I answered your question.

Thanks again
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform