EnvLastError()

Returns information about an error condition that causes a DDE or other transaction to fail.

Token ID

AFTKN_LASTERROR or 765

Syntax

ANSISTRING EnvLastError() 

Return Values

ANSISTRING

Error condition, as follows.

10E1

Bad Parameter x (x is the index of a bad parameter)

10E2

Failed

10E3

Command is invalid in the current GroupWise state

10E4

Not found

10E5

Syntax error

10E7

BC does not apply to personal items

10E8

Not supported for encapsulated item attachments

10E9

Not supported for OLE attachments

10EA

Message ID references a Sent Items message that does not exist yet

10EB

You cannot set an alarm for a time that has already expired

10EC

The Mailbox and Sent Items source attributes of the Mailbox filter cannot be changed

10ED

The source attributes of the Sent Items filter cannot be changed

Remarks

Use this command as part of a DDE request transaction. Possible error strings are: