Searching PBD for User Object at Runtime

Searching PBD for User Object at Runtime

I am currently writing a generic system where user object names are stored in a database and instantiated upon request.

This is currently working beautifully, but I fall short when attempting to load a user object that does not exist in the PBDs listed in the application’s library list.

What I want to do is search for the object in the PBD list before attempting to instantiate it.

The LibraryDirectory function appears only to work with PBL files.

What can I do to remedy this?

In PowerBuilder 6 and 7, Sybase has added an API called the Class Definition Objects. You can use these to find objects and load them into special classes so you can examine the properties and methods in your PowerScript.

Share the Post:
data observability

Data Observability Explained

Data is the lifeblood of any successful business, as it is the driving force behind critical decision-making, insight generation, and strategic development. However, due to its intricate nature, ensuring the

Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular