PowerBuilder, different DD list values for each row

Source http://www.pbdr.com/pbtips/dw/fltrdddw.htm

Step 1 – declare instance variables

boolean ib_dropdowndropped = False
boolean ib_dropdownredrawn = True

Step 2 – extend the pbm_dropdown event

ib_dropdowndropped = True
ib_dropdownredrawn = False
of_Filter(True)
ib_dropdownredrawn = True

Step 3 – extend the pbm_ncpaint event

If (ib_dropdowndropped And ib_dropdownredrawn) Then
 ib_dropdowndropped = False
 ib_dropdownredrawn = False
 of_Filter(False)
 ib_dropdownredrawn = True
End If

Step 4 – write the of_Filter (boolean ab_switch) subroutine

datawindowchild ldwc
long ll_getitemnumber
string ls_setfilter = ""

If (ab_switch) Then
 ll_getitemnumber = GetItemNumber(GetRow(), "order_status_id")
 If (ll_getitemnumber = 1) Then // cancelled -> cancelled
  ls_setfilter = "(order_status_id = 1)"
 ElseIf (ll_getitemnumber = 2) Then // confirmed -> confirmed
  ls_setfilter = "(order_status_id = 2)"
 ElseIf (ll_getitemnumber = 3) Then // new -> cancelled, new, pending
  ls_setfilter = "(order_status_id = 1) or (order_status_id = 3) or
(order_status_id = 4)"
 ElseIf (ll_getitemnumber = 4) Then // pending -> cancelled, confirmed,
pending
  ls_setfilter = "(order_status_id = 1) or (order_status_id = 2) or
(order_status_id = 4)"
 End If
End If

GetChild("order_status_id", ldwc)
ldwc.SetFilter(ls_setfilter)
ldwc.Filter()

Nokia (6131 in my case) flashing (programming)

Good info here – http://forum.mobiles.lt/index.php?topic=10487.0

In a nutshell:
1. Clean PC from any nokia software:

2. Restart PC

3. Download and install Pxoenix 2009
4. Download and install Your phone firmware
5. Restart PC
6. Connect phone to PC using USB cable
7. In Pxoenix 2009 – manage connections, add and apply USB connection
8. Scan product (Ctrl+R)
9. If phone not found – check cable
10. If still no luck – GO TO 1.
11. Select Flashing->Firmware update
12. Select product (if not selected)
13. Press Refurbish
14. Pray…
You can also Flash dead Nokia which does not start – then:
in a step 7 select No connection (remove other connections)
in a step 8 just select Open product and select Your product
And everything at Your own risk !