Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dw_1.getrow() = 0

Status
Not open for further replies.

theogary

Programmer
Mar 3, 2003
99
US
I retrieve succesfully from a datawindow and get 1 row

I try to say dw_1.getrow() and I get zero everytime

I regenerated the objects ans still no success.

dw_1 is shared with dw_2

Any clues why this is happening
 
Getrow returns the row number of the current row (the row with focus). Simply retrieving data with a datawindow does not set a current row. To do this you would use the setrow method.
 
The problem was there were 4 columns on the dw. 1 was editable. at runtime the editable field was disabled in another function. that is why get row failed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top