Returns the code page with which an open table has been marked.

CPDBF([nWorkArea | cTableAlias])



Specifies the work area number.


Specifies the table alias.

Include nWorkArea or cTableAlias to specify a table open in a work area other than the current work area. CPDBF( ) returns 0 if a table isn't open in the work area you specify. If a table doesn't have the alias you specify with cTableAlias, Visual FoxPro generates an error message.

Expand imageRemarks

Expand imageSee Also