PA_GetLogField

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_GetLogField (logtag; field; logdata; len; string)

ParameterTypeDescription
logtagPA_LogTag* Current log tag
fieldshortField number to access
logdatachar *Pointer to the data
lenlongSize of logdata in bytes
stringchar *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


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next