1. James Medick
  2. PowerBuilder
  3. Tuesday, 11 September 2018 22:23 PM UTC

Has PB been updated to enable easy construction of dependent dddws?  (e.g., State contains counties which contain cities.  Choosing a state in the first dddw only allows selection of counties for that state in the 2nd dddw, choosing counties in the 2nd dddw only allows selection of cities for that county and state in the third dddw).

Accepted Answer
Kevin Ridley Accepted Answer Pending Moderation
  1. Friday, 14 September 2018 15:06 PM UTC
  2. PowerBuilder
  3. # Permalink

It's pretty easy to code.  On the itemchanged of each, do a retrieve or filter on the next. 

 

Idk if that would be practical to try to build into pb.  You could try to code your own linkage type service and register dependent dw's.

Comment
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Wednesday, 12 September 2018 20:50 PM UTC
  2. PowerBuilder
  3. # 1

This still needs to be hand-coded, though a Service for this kind of cascading call should be relatively easy to create. Simply mimic what a user would need to do to make this happen.

Select line from dddw_1.
Get selected dddw_1 data values

Display dddw 2 values based on the value selected from ddw_1.

Select row from dddw_2.
Get selected dddw_2 values
.
.
.
and so on.



Olan

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Wednesday, 12 September 2018 14:51 PM UTC
  2. PowerBuilder
  3. # 2

No it hasn't.

Nested Reports allows you to assign columns to arguments but DropDownDataWindow does not.

 

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.