>Is there a way to define methods like 'dblclick' or 'click' from the program? I use a grid on a form that has a variable determining the number of columns. I built the grid with 6 columns, and assigned all the method programming. When the program runs, if I close the control source for the grid, I lose all of the method programming. When I redefine the grid, I can assign properties but not methods. Is there a way to do this?
>
>Thanks,
>Larry
Larry,
Before closing the RecordSource for the grid, set the property to "" (space(0)). That way, the grid will not implode and your property/methods will stilll be intact.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao