Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy file command
Message
De
20/09/2002 00:46:26
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00702536
Message ID:
00702608
Vues:
10
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform