Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
STRTOFILE() with proper casing
Message
 
 
À
22/02/2009 17:44:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01383367
Message ID:
01383368
Vues:
102
>Has anyone found a way to have STRTOFILE() to respect the proper casing of the file name?

You can rename the file after your command with MoveFile API, since VFP doesn't respect the case.

See
Rename File

Here is what I use for the similar case of COPY TO command
	COPY TO (m.tcXLSFileName) TYPE XL5 && Oddly Using TYPE XL5 produces the file in the upper case
	MoveFile(m.tcXLSFileName, m.tcXLSFileName)
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform