Link to home
Start Free TrialLog in
Avatar of valvoj
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.

Avatar of waty
waty
Flag of Belgium image

flxgrdGrid.Clear          


Avatar of valvoj
valvoj

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
Avatar of valvoj

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.
ASKER CERTIFIED SOLUTION
Avatar of EDDYT
EDDYT

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of valvoj

ASKER

Thanks for the help EDDYT!!