|
![]() |
![]() |
version 2003
PA_GetLogField (logtag; field; logdata; len; string)
Parameter | Type | Description | |
logtag | PA_LogTag* | → | Current log tag |
field | short | → | Field number to access |
logdata | char * | → | Pointer to the data |
len | long | → | Size of logdata in bytes |
string | char * | ← | Value of the field |
Description
The routine
PA_GetLogField
returns in
string
the content of the specified field of the specified record stored in the logfile. numeric, date or any non string fields will be converted to a string to allow you to display it easily. Note that this is possible only for the logdata referring to an Add or Modify log operation. Content of the record is not available for a deletion operation.
To display Text fields, you must use
PA_GetTextLogField
.
See Also
PA_GetLogFieldKind , PA_GetPictureLogField , PA_GetTextLogField .
Error Handling
Use
PA_GetLastError
to see if an error occurred