PA_GetVirtualTableNumber


version 2003


PA_GetVirtualTableNumber (trueTable) → short

Parameter Type Description
trueTable short True table number
Function result short Virtual table number

Description

Given a true table number, the command PA_GetVirtualTableNumber returns its virtual number in the virtual structure.

If you want to call API routines that use table 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

No reference.

Error Handling

Use PA_GetLastError to see if an error occurred.