>>Codes of RightClick(): >> >>dimension LAMENU[2] >>PRIVATE LAMENU >>LAMENU[1] ="\>>LAMENU[2] ="\>>… >>THISFORM.MENULIB.SHOWMENU(@LAMENU) >>… >> >Is this code in the grid? If yes, it sounds like grid restoration problem that Vlad Grynchyshyn >had a FAQ here about it Grid reconstruction and how to avoid it FAQ #8019. > >How do you populate the grid? Can you use the safe select approach? > >http://weblogs.foxite.com/andykramek/archive/2005/03/19/174.aspx
I use safe select approach. Before refreshing the record source, I assign empty string to Grid1.recordsource property. Is it enough to save Code of RightClick()?