>Hi all,
>
>When the cursor in my grid is changed, I know that I have to reset the recordset for the data to be displayed. But I also have some
codes in the column headings, so what is the best way to restore these codes?
>
>Thanks a lot...
> There are three options here:
> 1) Keep this code in class, i.e. use customized column.control, and use Column.Remove/AddObject any time you reset Grid.Recordsource.
> 2) Keep whole grid as class, and Form.AddObject("mygrid","mygrid")any time you reset Grid.Recordsource.
> 3) Do not reset Grid.Recordsource. Instead you may base grid on read-write permanently and use ZAP/APPEND/INSERT to change cursor content.
Thanks Edward, I will try those.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only