1. william yau
  2. PowerBuilder
  3. Friday, 5 November 2021 10:30 AM UTC

Guru

I created a datawindow with three selections , but it cannot show data on my program use this datawindows

what's your advice

 

William 

 

 

 

case "dw_dd_postfg"

ls_str = ls_str + "sc_field3.dddw.AllowEdit = YES sc_field3.dddw.Case = Any sc_field3.dddw.DataColumn = 'xx_postfg' sc_field3.dddw.DisplayColumn = 'xx_desc' sc_field3.dddw.Name = '" &
+ ls_dddw_name &
+ "' sc_field3.dddw.PercentWidth = 130"
lb_retrieve = false

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Matt Balent Accepted Answer Pending Moderation
  1. Friday, 5 November 2021 14:52 PM UTC
  2. PowerBuilder
  3. # 1

Are you building some sort of modify string?  If so you may need to 're-do' the GetChild on the DDDW in order for it to work.  Many properties on the parent datawindow will cause the child reference to be lost if they are modified.

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 5 November 2021 14:44 PM UTC
  2. PowerBuilder
  3. # 2

Hi William;

  Make sure that you do not have more than one copy of the DWO that performs the DDDW functionality in two or more PBLs. If so, the PB runtime might be picking up the wrong DWO instance. Which in turn, might not have all the row values. Also, make sure that your parent DWO's column is in fact declared as a DDDW vs DDLB.  Food for thought.

Regards ... Chris

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.