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

LibraryExport – PB Docs 125 – PowerBuilder Library

LibraryExport – PB Docs 125

LibraryExport PowerScript function

Description

Exports an object from a library. The object is exported as
syntax.

Syntax

Argument

Description

libraryname

A string whose value is the name of the
PowerBuilder library from which you want to export an object. If
you do not specify a full path, LibraryExport uses the system’s
standard file search order to find the file.

objectname

A string whose value is the name of the
object you want to export

objecttype

A value of the LibExportType enumerated
datatype identifying the type of objects you want to export:

  • ExportApplication! – Application
    object

  • ExportDataWindow! – DataWindow object

  • ExportFunction! – Function object

  • ExportMenu! – Menu object

  • ExportPipeline! – Pipeline objects

  • ExportProject! – Project objects

  • ExportQuery! – Query objects

  • ExportStructure! – Structure object

  • ExportUserObject! – User objects

  • ExportWindow! – Window object

Return Values

String. Returns the syntax of the object
if it succeeds. The syntax is the same as the syntax returned when
you export an object in the Library painter except that LibraryExport does
not include an export header. Returns the empty string (“”) if an
error occurs. If any argument’s value is null, LibraryExport returns null.

Examples

These statements export the DataWindow object dw_emp from
the library called dwTemp to a string named ls_dwsyn and
then use it to create a DataWindow:

See Also


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