Salesforce

BufGetDate (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

BufGetDate (Magic xpa 2.x)

Converts a value stored in a specified position in a buffer to a Magic xpa Date value.

Syntax:

BufGetDate(variable reference, position, storage)

Parameters:

variable reference - The reference to the BLOB variable containing the buffer. For example, 'A'VAR

position – The numeric value defining the starting position of the conversion method.

storage – A numeric value representing a valid storage type in Magic xpa. For a list of storage types, see the Magic xpa Storage Types

Returns:

Date value when the conversion succeeds. 0 when the conversion fails.

The function fails when the:

  • Position parameter has a negative value.

  • Position and length parameters are not part of the BLOB's content.

  • Storage parameter does not contain a valid number.

  • Conversion errors occur.

See also:

Buffers

SetBufCnvParam

The Online and Rich Client Samples projects (program CS01 and RCS01)

Reference
Attachment 
Attachment