-
Jeff Gibson
- PowerBuilder
- Wednesday, 25 June 2025 06:05 PM UTC
I am attempting to wrap my arms around some code I'm working in on my new contract.
There is some code implemented in the base level datawindow that literally contains one line of code...
This.DeleteRow(-1)
I looked through the help module and could find nothing that references exactly what this is supposed to do. In my searches I've found the following...
- Deletes all rows in the datawindow.
- Deletes the current row in the datawindow
- Deletes the selected rows in the datawindow
- Fails and deletes nothing in the datawindow
Does anyone have a confirmation on this. I've always been very specific about initially getting the row number related to the row that needs to be deleted, then passing that row into the DeleteRow() function, delete the row, update if required, then commit if required.
Just looking for someone that might have used this type of call to the deleterow function.
Thanks in advance!
Jeff Gibson
Nashville, TN
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.