A script-enabled browser is required for this page to function properly.

About Open API function return codes

This section describes the various possible Oracle Forms Open API function return codes.

D2FS_SUCCESS

This return code indicates that the operation succeeded.

D2FS_FAIL

This return code indicates that the operation failed.

D2FS_YES

This return code indicates that the operation returned "YES".

D2FS_NO

This return code indicates that the operation returned "NO".

D2FS_BADARG

This return code indicates that one of the arguments is bad.

D2FS_BADCONTEXT

This return code indicates that a bad context has been provided.

D2FS_BADPROP

This return code indicates that the specified property is bad.

D2FS_BADTYPE

This return code indicates that the object type is unknown.

D2FS_DONTHAVE

This return code indicates that the object does not have the specified property.

D2FS_GENFAILED

This return code indicates that the generation failed.

D2FS_INVALIDDATA

This return code indicates that the data passed in is invalid.

D2FS_INVALIDINDEX

This return code indicates that the index is invalid.

D2FS_NOMEMORY

This return code indicates that you are out of memory.

D2FS_NOINSTANCEHANDLE

This return code indicates that the initialization failed because a NULL instance handle was received.

Note that this return code applies to Microsoft Windows platforms only.

D2FS_NOMSGFILE

This return code indicates that the specified message file was not found.

D2FS_NOTCONNECTED

This return code indicates that you are not connected to a database.

D2FS_NOTIMPLEMENTED

This return code indicates that the operation is not currently available.

D2FS_NOTTRANSMODE

This return code indicates that the function can only be called in translation mode.

D2FS_NULLCONTAINER

This return code indicates that the operation returned a NULL pointer to the object.

D2FS_NULLDATA

This return code indicates that NULL data was passed in to the function.

D2FS_NULLOBJ

This return code indicates that the operation returned a NULL object.

D2FS_NULLPROPERTY

This return code indicates that the operation returned a NULL property.

D2FS_OBJNOTFOUND

This return code indicates that the specified object was not found.

D2FS_OBJNOTUNIQUE

This return code indicates that the operation failed because the object being created/placed was not unique. An object with this name already exists.

D2FS_TYPEMISMATCH

This return code indicates that the type you passed in does not match the actual object.

D2FS_WARN

This return code indicates that the operation failed partially, however, the error was not fatal.

D2FS_WRONGOBJ

This return code indicates that you have supplied an unexpected object.

D2FS_WRONGPARENT

This return code indicates that you have specified an unexpected parent.