How can i set the cursor of the data windows back to the first record (like the method recordset.movefirst in Visual Basic)?
that's i want the data windows display the first reocrd after clicked a button.
thx~
Move to first record in the data windows control
Re: Move to first record in the data windows control
Hello patricksky,
I dont know whether you fix that problem or not? cuz I had just jointed this room
To do that, simply you can use to function ScrollToRow(1) or SetRow(1)
Please refer the Help in PB
Hope it's helpful
I dont know whether you fix that problem or not? cuz I had just jointed this room
To do that, simply you can use to function ScrollToRow(1) or SetRow(1)
Please refer the Help in PB
Hope it's helpful
You typically want to call something like the following:
dw_1.insertrow() //inserts the row
dw_1.scrolltorow() //puts the user on the desired row
dw_1.setcolumn() //put the user in the desired column
dw_1.setfocus() //to set Windows' focus to the dw control.
Don Clayton
Intertech Consulting, Inc.
Houston, TX.
dw_1.insertrow() //inserts the row
dw_1.scrolltorow() //puts the user on the desired row
dw_1.setcolumn() //put the user in the desired column
dw_1.setfocus() //to set Windows' focus to the dw control.
Don Clayton
Intertech Consulting, Inc.
Houston, TX.