---
name: "PX_put_record"
section: "3"
platform: "linux"
package: "pxlib-dev"
version: "0.6.9-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/PX_put_record"
---

# PX\_put\_record(3)

Stores record in Paradox file

## NAME

PX\_put\_record — Stores record in Paradox file

## SYNOPSIS

\#include \<paradox.h\>

int PX\_put\_record(pxdoc\_t \*pxdoc, char \*data)

## DESCRIPTION

Stores a record in the buffer **data** into a  Paradox file.  **data** must be constructed with PX\_put\_data\_xxx(3)  functions before. It is of the same structure as the record returned  by [PX\_get\_record(3)](/PX_get_record/3.md) and [PX\_get\_record2(3)](/PX_get_record2/3.md).

The new record will be stored after the last one added.

## RETURN VALUE

Returns the record position on success and -1 on failure. The first  position has number 0.

## SEE ALSO

**[PX\_get\_record(3)](/PX_get_record/3.md)**,  **[PX\_get\_record2(3)](/PX_get_record2/3.md)**,  **[PX\_put\_recordn(3)](/PX_put_recordn/3.md)**,  **[PX\_put\_data\_byte(3)](/PX_put_data_byte/3.md)**,  **[PX\_put\_data\_short(3)](/PX_put_data_short/3.md)**,  **[PX\_put\_data\_long(3)](/PX_put_data_long/3.md)**,  **[PX\_put\_data\_double(3)](/PX_put_data_double/3.md)**,  **[PX\_put\_data\_alpha(3)](/PX_put_data_alpha/3.md)**

## AUTHOR

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