Poster of Linux kernelThe best gift for a Linux geek
PX_GET_FIELD

PX_GET_FIELD

Section: C Library Functions (3)
Local index Up
 

NAME

PX_get_field --- Returns single field definition in Paradox file  

SYNOPSIS

#include <paradox.h>

pxfield_t *PX_get_field(pxdoc_t *pxdoc, int fieldno)  

DESCRIPTION

Returns the meta data of the field with the given number in a Paradox file. The first field has number 0, the last one has number_of_fields-1. pxfield_t is defined as

typedef struct px_field pxfield_t; 
struct px_field { 
char *px_fname; 
char px_ftype; 
int px_flen; 
int px_fdc; 
}; 
 

The meaning of px_ftype is as following:


 

Values and meaning of px_ftype
ValueMeaning
pxfAlphaT{

Character string with a maximum of px_flen charackters.

T}

pxfDate

pxfShortShort interger (16 Bit)

pxfLongLong Integer (32 Bit)

pxfCurrency

pxfNumber

pxfLogical

pxfMemoBLOb

pxfBLOb

pxfFmtMemoBLOb

pxfOLE

pxfGraphic

pxfTime

pxfTimestamp

pxfAutoInc

pxfBCD

pxfBytesArray of bytes.


   

RETURN VALUE

Returns pointer to field on success and NULL on failure.  

SEE ALSO

PX_get_record(3), PX_get_fields(3)  

AUTHOR

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 21:53:23 GMT, April 16, 2011