cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Export objects from a target (multiple libraries)

Former Member
0 Likes
709

Hi i need to export the data windows from multiple libraries that belong to a single target.

I know I can open each library, select the datawindows (all start with d_ as customary)  and then export them.

That will od except we have 100s of libraries and "forgetting" one is not an option.

Key points:

-- I need to get the source code files.

-- Don't worry about filtering by object  type. I can do it myself after the export if it's needed.

--  I do have access to the application, a solution involving a Power builder script or manipulations on the library painter will work.

-- using perl and Orca it's basically not an option,  If you have a solution with it please show it (It will help to fight management) but it's unlikely that I will be able to have Perl installed.

Sorry about grammar etc,  English is not my native tongue, any help will be appreciated.

J. Duncan

View Entire Topic
Former Member
0 Likes

Hi James;

  Suggestion:

1) Use the PowerBuilder Library functions to write a small utility that automates all that for you.

    LibraryDirectory ( )  &  LibraryExport ( )

2) Use PB's Native Source feature.

   - Check in all objects

   - scan through the Source Code repository directory and pick-up all .SRD (DataWindow) files.

HTH

Regards ... Chris