DOKK / manpages / debian 12 / pxlib-dev / PX_set_tablename.3.en
PX_SET_TABLENAME(3) Library Functions Manual PX_SET_TABLENAME(3)

PX_set_tablename — Set name of table

#include <paradox.h>

int PX_set_tablename(pxdoc_t *pxdoc, const char *name)

Sets the name of the table as stored in the header of the database file. You probably will call this function after PX_create_fp(3) because it leaves the name empty. This function is a short cut for PX_set_parameter(pxdoc, "tablename", name) and is deprecated.

Returns a value < 0 in case of an error, otherwise 0.

PX_create_fp(3), PX_set_parameter(3)

This manual page was written by Uwe Steinmann uwe@steinmann.cx.