Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

PBORCA_LibraryEntryMove – PB Docs 2022 – PowerBuilder Library

PBORCA_LibraryEntryMove – PB Docs 2022

PBORCA_LibraryEntryMove

Description

Moves a PowerBuilder library entry from one library to
another.

Syntax

Argument

Description

hORCASession

Handle to previously established ORCA
session.

lpszSourceLibName

Pointer to a string whose value is the file name of
the source library containing the object.

lpszDestLibName

Pointer to a string whose value is the file name of
the destination library to which you want to move the
object.

lpszEntryName

Pointer to a string whose value is the name of the
object being moved.

otEntryType

A value of the PBORCA_TYPE enumerated data type
specifying the object type of the entry being moved. Values
are:

PBORCA_APPLICATION

PBORCA_DATAWINDOW

PBORCA_FUNCTION

PBORCA_MENU

PBORCA_QUERY

PBORCA_STRUCTURE

PBORCA_USEROBJECT

PBORCA_WINDOW

PBORCA_PIPELINE

PBORCA_PROJECT

PBORCA_PROXYOBJECT

Return value

INT. Typical return codes are:

Return code

Description

0 PBORCA_OK

Operation successful

-1 PBORCA_INVALIDPARMS

Invalid parameter list

-3 PBORCA_OBJNOTFOUND

Object not found

-4 PBORCA_BADLIBRARY

Bad library name

-7 PBORCA_LIBIOERROR

Library I/O error

Usage

You do not need to set the library list or current application
before calling this function.

Like PBORCA_LibraryEntryCopy, one call to PBORCA_LibraryEntryMove
automatically moves the source component and then moves the binary
component of an object if it is present.

Examples

This example moves a DataWindow named d_labels from the library
SOURCE.PBL to DESTIN.PBL:

This example assumes that the pointers for lpszSourceLibraryName,
lpszDestinationLibraryName, and lpszEntryName point to valid library and
object names and that otEntryType is a valid object type:

See also

PBORCA_LibraryEntryCopy

PBORCA_LibraryEntryDelete


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x