Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Evaluating and Macro Substitution
Message
De
10/01/2007 08:19:31
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Evaluating and Macro Substitution
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01184134
Message ID:
01184134
Vues:
68
Hi all,

I'm being extremely dumb today and cant work out the following:

I have a report form command that we dynamically create so for instance;

REPORT FORM (g_def+w_fname) &w_torep

Where:
g_def = “G:\PRODUCTS\PPWIN\DEV32\DATA\”
w_fname = “REPORTS\R1875148”
w_torep = “TO FILE 'C:\TEST.TXT' ASCII NOCONSOLE”

This works fine but if the name of the file is more than 8 chars or has spaces it fails due to the macro substitution.

So this fails:

REPORT FORM (g_def+w_fname) &w_torep

Where:
g_def = “G:\PRODUCTS\PPWIN\DEV32\DATA\”
w_fname = “REPORTS\R1875148”
w_torep = “TO FILE 'C:\TEST FILE.TXT' ASCII NOCONSOLE”

How can I change it so that it allows long file names?

TIA

Jon
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform