dw.retrieve() will eventually trigger a RowFocusChanged event. In PB4,
it seems that RowFocusChanged is triggered as soon as one screenful
of rows are retrieved. Then after RowFocusChanged, the rest of the rows
(which are not visible on the screen) will be retrieved.
That causes a problem because at the time RowFocusChanged is triggered,
there're still those to-be-retrieved rows pending in result set. Any
databases access in the RowFocusChanged will give the following error:
Only Cancel command is validwhen records are prending
If the entire result set is less than one screeful, then the error will
not occur. I easily tested it by resizing the dw at runtime. Everytime
I decrease the height of dw so that the result set is more than one screenful,
the error occurs when retrieve().
Anyone know about that problem?
Q Vincent Yin | Repeat
| Until 0 = 1;