PA_GetTrueFieldNumber

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_GetTrueFieldNumber (virtualTable; virtuelField; trueTable; trueField)

ParameterTypeDescription
virtualTableshortVirtual able number
virtuelFieldshortVirtual field number
trueTableshort *True table number
trueFieldshort *True field number

Description

The command PA_GetTrueFieldNumber returns the true table and field numbers of a virtual field. Those are the numbers in the real structure, the one that is defined in the design environment.

Pass the virtual table number in virtualTable, the virtual field number in virtualField, and, if no error occurred, retrieve the true numbers in the short pointed by trueTable and trueField.

If you want to call API routines that use table/fields numbers, be sure to switch between virtual/real structure if necessary, depending of what you want to do.

The virtual structure is used when the 4D commands SET TABLE TITLES and SET FIELD TITLES are called.

See Also

PA_GetVirtualFieldNumber.

Error Handling

Use PA_GetLastError to see if an error occurred.


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next