1. Dipankar RSG
  2. PowerBuilder
  3. Thursday, 18 May 2023 09:35 AM UTC

 We’re using Desta’s PB2XLS Utility with Powerbuilder 2021 for Excel Save of Reports. We came across an issue where we are finding when a DW is having a Computed Expression with RichText Method, it is not getting evaluated and PB is just crashing. Could you please help resoling this issue? 

 

Through debugging, I could find that the PB Crash is happening at highlighted line below:

 

 I had tried to use TRY CATCH block to capture the exception, but it doesn’t help; PB just crashes after the highlighted statement is executed.

 Below expression has been used on computed expression on the DW:

 richtext("{\rtf1\ansi\deff0 {\fonttbl {\f0 Arial;}}\fs20

\pard\fi-200\li200\sb90\bullet\tab Provide all necessary personnel, equipment, and materials. \par

\pard\fi-200\li200\sb90\bullet\tab Properly segregate, package and label all designated waste materials in accordance with all applicable regulations. \par

\pard\fi-200\li200\sb90\bullet\tab Provide all necessary transportation documents. \par

\pard\fi-200\li200\sb90\bullet\tab Transport the material on licensed waste hauling vehicles. \par

\pard\fi-200\li200\sb90\bullet\tab Obtain all necessary approvals, waste disposal scheduling and proper disposition of all waste streams per Best Demonstrated Available Technology (BDAT). \par

}")

Miguel Leeuwe Accepted Answer Pending Moderation
  1. Thursday, 18 May 2023 09:53 AM UTC
  2. PowerBuilder
  3. # 1

Hi,

Which version of dw2XLS are you using?

I think this might be more a question you should ask to the people at Desta.

regards.

Comment
  1. Dipankar RSG
  2. Thursday, 18 May 2023 10:31 AM UTC
Hi Miguel,



I'm using DW2XLS for Powerbuilder 2021. Actually, the PB crash is not specific to Desta Utility (although, I'm asking them too if they have a solution), it is happening when a computed field with RichText Method is being evaluated using Describe Method.



Regards,
  1. Helpful 1
  1. Miguel Leeuwe
  2. Thursday, 18 May 2023 14:05 PM UTC
Ah ok, so not a Desta problem then. I'd recommend you make a testcase app and report it as a bug on https://www.appeon.com/standardsupport/newbug

regards.
  1. Helpful
  1. Dipankar RSG
  2. Friday, 19 May 2023 07:29 AM UTC
Thanks Miguel, I raised a support ticket for the same:

https://www.appeon.com/standardsupport/track/view?id=10266
  1. Helpful 1
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.