1. Larry Peters
  2. PowerBuilder
  3. Tuesday, 24 April 2018 23:52 PM UTC

I have a legacy application which has many (>500) datawindow objects (*.srd) which were created in earlier versions of PowerBuilder. Some have "release 6;", "release 9;", "release 11.5;", etc in the header. Particularly with version 6 datawindows there is a problem in that many of the text objects have no name. Apparently this was not enforced in early days. I need a name as I need  to apply tools which can remove or enhance text labels.

This application needs to first be migrated up into PB 12.5 and then after a period into Appeon 17.

I have found (using PB 12.5) that if I open a datawindow in the painter and then save it, the header now reads "release 12.5"and the internals of the datawindow are migrated upward and (yippee!) the unnamed text labels now have names. So obviously the best thing for me to do is to migrate all old datawindows up into the latest version I wish to use. I find that the only way to do this is as I did, open the datawindow in the painter and then save it. The Migration Assistant and Migration Tools do not appear to do this. After a full migration and build the datawindows are still in the "old"mode.

What am I missing?

TIA

Accepted Answer
René Ullrich Accepted Answer Pending Moderation
  1. Wednesday, 25 April 2018 08:47 AM UTC
  2. PowerBuilder
  3. # Permalink

Just an idea:

Write a little application that scans each datawindow for unnamed objects and add an object name. It should be easier than a manual migration of > 500 datawindows.

You may use the .srd files outside the libraries or you can use LibraryExport and LibraryImport functions to change the datawindows in the library.

Comment
There are no comments made yet.
Larry Peters Accepted Answer Pending Moderation
  1. Wednesday, 25 April 2018 00:36 AM UTC
  2. PowerBuilder
  3. # 1

I just saw Kevin's similar question and Chris' answer.

So no quick solution...

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.