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,



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.

  1. Andreas Mykonios
  2. Monday, 6 June 2022 11:19 AM UTC
As stated in manual: "The following SaveAsType values are considered to be obsolete and will be removed in a future release: Excel!, WK1!, WKS!, SYLK!, dBase2!, WMF!. Use Excel8!, XLSB!, or XLSX! for current versions of Microsoft Excel!, and EMF! in place of WMF!."

Obsolete values can be used for now. This is a warning that in the future they will be removed. By the way, lotus most recent release was almost 20 years ago. You should think stop using that data format. Maybe it's time to consider to move to xls or xlsx...

  1. Helpful
  1. Prabhat Shukla
  2. Monday, 6 June 2022 13:20 PM UTC
Hi Andreas,

Thanks for your help but it is necessary from client side to use WKS so can you suggest any alternative for this


  1. Helpful
  1. Roland Smith
  2. Monday, 6 June 2022 15:40 PM UTC
WKS is the spreadsheet part of Microsoft Works. Microsoft Works sales ended in 2009.

Microsoft Works should also support Excel formats. Try exporting using one of the Excel SaveAs types.
  1. Helpful 1
There are no comments made yet.
Prabhat Shukla Accepted Answer Pending Moderation
  1. Monday, 6 June 2022 08:34 AM UTC
  2. PowerBuilder
  3. # 1

Hi Roland,


Hope you are dong well and please suggest me what use in place of WKS format as it is no longer supported in powerbuilder 2019.

Thanks in Advance.

  1. Roland Smith
  2. Monday, 6 June 2022 12:52 PM UTC
One of the Excel types.
  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.