Obsolete SaveAsType DataWindow constant

1
0
-1

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

Question Tags: 

Answers

Roland Smith answered Obsolete SaveAsType DataWindow constant

1
0
-1

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.

Ankush_Rai_19176's picture

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.

Roland's picture

Excel! is the file format used when Excel first came out. If PB 2017 still has Excel5! or Excel8! try one of those.

Ankush_Rai_19176's picture

Yes, I am using Excel8!.
Thanks once again.