1. FRANCISCO TORRES
  2. PowerBuilder
  3. Monday, 14 March 2022 17:59 PM UTC
Good afternoon !
 
Is it possible to be on PB19, save the syntax of a Datawindows in PB6 version ? 
How am I supposed to do it?
 
// PB19 
sSyntax = l_dwn.Describe ( "Datawindow.Syntax" )
 
Grateful !
FRANCISCO TORRES Accepted Answer Pending Moderation
  1. Monday, 14 March 2022 18:56 PM UTC
  2. PowerBuilder
  3. # 1

I appreciate your reply John, Thank you !

Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Monday, 14 March 2022 18:27 PM UTC
  2. PowerBuilder
  3. # 2

Hi, Francisco - 

I'm pretty sure there is no automatic way to accomplish this.

Theoretically, you could do this via an editor (manually) or a program, but you would have to identify and remove ALL of the DW source keywords, options, values, etc. that have been added to the DW syntax since version 6, and also make sure you saved the downgraded source file using ANSI encoding, as DW source was changed to Unicode16LE encoding beginning in PB 10. It's probably much, much easier to create/replicate the desired DataWindow in PB 6, provided you have a working copy of that version's IDE.

Regards, John

Comment
  1. Olan Knight
  2. Tuesday, 15 March 2022 16:55 PM UTC
This is exactly correct, and I assure you it's a major pain in the heinie to do - and even with all your concentration you WILL miss a few entries. :/
  1. Helpful
  1. Olan Knight
  2. Tuesday, 15 March 2022 16:57 PM UTC
Also: It is FAR easier and safer to take the SQL from the 2019 DW and either replace the sql in the PBv6 sql (with any required modifications) or to simply rebnuild thge PBv6 datawindow using the 2019 SQL.
  1. Helpful
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.