valvoj
asked on
Deleting rows in a grid
Hi,
I have flexgrid that adds rows to it based on what the user needs. ANyways, once that info is brought up I need to have possibly a command button that deletes all the current rows to do the process over again. ( I don't want to just clear the rows!) What can I do to do this. Thanks.
I have flexgrid that adds rows to it based on what the user needs. ANyways, once that info is brought up I need to have possibly a command button that deletes all the current rows to do the process over again. ( I don't want to just clear the rows!) What can I do to do this. Thanks.
flxgrdGrid.Clear
ASKER
I need to be able to delete the rows, not just clear the contents of the grid
Use sendkey function to delete the selected row
ie.
SendKeys "{DEL}", True
ie.
SendKeys "{DEL}", True
ASKER
Hi,
I want to delete all the rows in a grid after a command has been run with a command button. I'm not looking to select certain rows.
I want to delete all the rows in a grid after a command has been run with a command button. I'm not looking to select certain rows.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the help EDDYT!!