You need to be logged in to view a user's profile.
  1. Hans Groeneveld
  2. PowerBuilder
  3. Monday, 9 January 2023 09:25 AM UTC

Hi

Since PB22 (build 1892) we do have problems with XML export from datawindows.

We use the following function toi retrieve XML from a datawindow:
Describe('DataWindow.Data.XML')

 

The problem is that de decmal sign sometimes is set to a comma, instead of a point.

When that happens once, all the other exports that works fine before do also export the wrong decimal sign.

Ex. I have three datawindows with a SSQL with decimal columns in it.
When the first and second export fine( with a point as a decimal sign) and the third exports a comma as a decimal sign.
Then the second time the first and second datawindow export a comma as a decimal sign too.
It keeps getting wrrong. I have to close the application. After that de the first and second datawindow export fine again.

When I export the third datawindow right after the start of the application, all the three export a comma as a decimal sign.

It seems that something in the third datawindos does broken the XML export function.
I tried the SetCultureFormat() function. Just before the Describe:

                    IF lds_sub.SetCultureFormat('sDecimal=.    sThousand=    ') <> 1 THEN
                        MessageBox('SetCultureFormat lds_sub', 'error')
                    END IF

But that did not help. The SetCultureFormat does return a 1.

Is there a know problem with the decimal sign in the 'DataWindow.Data.XML' ?

We like to deplooy our application with the PB22 version, therefor we need a fix for this problem.

KInd RegaRDS

Hans

Miguel Leeuwe Accepted Answer Pending Moderation
  1. Monday, 9 January 2023 11:28 AM UTC
  2. PowerBuilder
  3. # 1

Hi Hans,

If this wasn't happening before pb 2022, I think it should be reported as a bug: https://www.appeon.com/standardsupport/newbug 

regards

Comment
  1. Armeen Mazda @Appeon
  2. Monday, 9 January 2023 14:35 PM UTC
I agree with Miguel. If it looks like a product bug rather than user mistake, please open support ticket. Thanks!

https://www.appeon.com/standardsupport/newbug
  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.