关于dw的getrow问题
GetRow method (DataWindows)
Return value
Returns the number of the current row in dwcontrol. Returns 0 if no row is current and -1 if an error occurs.
If dwcontrol is NULL, in PowerBuilder and JavaScript the method returns NULL.
‘Returns 0 if no row is current ’,有无办法使得一个有数据的数据窗口getrow返回0呢?
我测试了用setrow,但有效值一定要大于0,所以行不通。