Hi All,
I've been working with PB for a while now.
But now I have come over a strange problem that looks very simple.
I have two datawindows in a window. Both datawindows are based over the same table.
First window shows nr and name
Second window shows nr name adress city etc (the whole table)
Now when I do a rowchange on the first window the second should pop up the right (rest) data.
But is is not happening.
I got these scripts:
On w_leverancier open:
dw_leveranciers.SetTransObject(SQLCA)
dw_leveranciers.Sharedata(dw_leveranciers%nr)
dw_leveranciers.Retrieve()
dw_leveranciers.SetRowFocusIndicator(Hand!)
On dw_first rowchanged:
integer li_rijnr
li_rijnr=dw_leveranciers.getitemnumber(currentrow,"nr"
dw_leveranciers%nr.Retrieve(li_rijnr)
Hope you guys can help
I've been working with PB for a while now.
But now I have come over a strange problem that looks very simple.
I have two datawindows in a window. Both datawindows are based over the same table.
First window shows nr and name
Second window shows nr name adress city etc (the whole table)
Now when I do a rowchange on the first window the second should pop up the right (rest) data.
But is is not happening.
I got these scripts:
On w_leverancier open:
dw_leveranciers.SetTransObject(SQLCA)
dw_leveranciers.Sharedata(dw_leveranciers%nr)
dw_leveranciers.Retrieve()
dw_leveranciers.SetRowFocusIndicator(Hand!)
On dw_first rowchanged:
integer li_rijnr
li_rijnr=dw_leveranciers.getitemnumber(currentrow,"nr"
dw_leveranciers%nr.Retrieve(li_rijnr)
Hope you guys can help