1. Markus Eckert
  2. PowerBuilder
  3. Thursday, 13 September 2018 11:41 AM UTC

Hi everyone

I'm having an issue with PB 2017 R3 (1858) where a datawindow with an expression in the sort order can't correctly restore that sort order later.

I've attached an example DW Sort Order is as following:

Running the following code on the Datawindow leads to the following output. (the setsort returns 1)

string ls_sort
long ll_ret

ls_sort = dw_1.Describe('Datawindow.Table.sort')

MessageBox("Before", ls_sort )

ll_ret = dw_1.setsort( ls_sort )

ls_sort = dw_1.Describe('Datawindow.Table.sort')
MessageBox("After", ls_sort )

After first describe:
if( isnull( col1 ), 1, 0 ),col1 A,col2 A

After second describe:
if( isnull( col1 ), 1, 0 ),c A,ol1 A,col2 A

If I add a computed field with that expression to the DW and sort by that, everything works as expected. However, we never experienced this problem in 12.5 and 2017 R2.

Can anybody confirm this problem?

Attachments (1)
Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 13 September 2018 15:26 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Markus;

   Yes, I can reproduce your Sort issue on my PB2017R3. Please open a Support Ticket for this issue.

Regards ... Chris

Comment
  1. Markus Eckert
  2. Friday, 14 September 2018 05:56 AM UTC
  1. Helpful
There are no comments made yet.
philip anderson Accepted Answer Pending Moderation
  1. Wednesday, 6 March 2019 10:15 AM UTC
  2. PowerBuilder
  3. # 1

For downloading brother printer drivers or any other issues call on brother printer support number 1888-315-9712. They are always ready for your support.

Comment
There are no comments made yet.
Johnson Berry Accepted Answer Pending Moderation
  1. Monday, 17 September 2018 07:26 AM UTC
  2. PowerBuilder
  3. # 2

Antivirus provides protection from Unnecessary Virus and Malware. some PC makers like Lenovo laptop provide preload antivirus software and try to coerce you into signing up for it because that's how they make money.

Brother Printer keeps going offline Error

Comment
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.