AfterDeleteConnection

CodePage

This property contains the codepage assigned to a file.

Usage

nCodePage = filFile.CodePage
The codepage associated with a file indicates its underlying character set. This property lets you find out which one it is.

You can't set a file's codepage by changing this property, which sort of makes sense to us, because the project doesn't own the file. The same file might be part of dozens of projects and must have the same codepage regardless of project. If you want to set a file's codepage, check out COPY TO. On the other hand, you can change the codepage of files other than DBFs through the Project Manager interface, and the same arguments apply there. So we're confused about the disparity.

Example

? oProj.Files[3].CodePage

See Also

Copy To, CPDBF(), CPCurrent(), File, Project


View Updates

Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.



Hacker's Guide to Visual FoxPro 7. 0
Hackers Guide to Visual FoxPro 7.0
ISBN: 1930919220
EAN: 2147483647
Year: 2001
Pages: 899

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net