1. Ankush Rai
  2. PowerBuilder
  3. Monday, 17 July 2017 15:35 PM UTC

Hi All,

I am trying to migrate my application from PB 7.0 to PB 2017. 

When I used Migration Assistant, I got the following error message :- "Obsolete SaveAsType DataWindow constant".

Could you please suggest a workaround for this error message.
 

Thanks in advance,

 

Regards

Ankush Rai

Accepted Answer
Roland Smith Accepted Answer Pending Moderation
  1. Monday, 17 July 2017 16:55 PM UTC
  2. PowerBuilder
  3. # Permalink

That would depend on which SaveAsType is generating the error. If you have references to more than one, you need to compare the flagged lines of code to the SaveAsType in the help file to determine which one is no longer valid.

Comment
  1. Ankush Rai
  2. Tuesday, 18 July 2017 07:38 AM UTC
Thanks for your reply Roland.



I am using "Excel!" as the SaveAs Type.



dw_report.SaveAs("",Excel!,TRUE)



It seems this is no longer valid in PB 2017.

  1. Helpful
  1. Roland Smith
  2. Tuesday, 18 July 2017 14:48 PM UTC
Excel! is the file format used when Excel first came out. If PB 2017 still has Excel5! or Excel8! try one of those.

  1. Helpful
  1. Ankush Rai
  2. Tuesday, 18 July 2017 15:08 PM UTC
Yes, I am using Excel8!.

Thanks once again.



 

  1. Helpful
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.