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

CPDBF([nWorkArea | cTableAlias])

Parameters

nWorkArea

Specifies the work area number.

cTableAlias

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