Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
STRTOFILE() with proper casing
Message
 
 
To
22/02/2009 17:44:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01383367
Message ID:
01383368
Views:
103
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform