General information
Category:
Forms & Form designer
>How do I save only the Grid and not the grid and the form? I saved the Grid, but it also saved the entire form.
>
>>I would save the grid as a class (in designer) and remove it if it exists and then instantiate it after you do a select. That was my standard way to handle a new source for a grid.
Like Naomi, I think removing and adding the grid is overkill unless you're making massive changes in the grid. Just use the safe select approach. Basically, that means you create one cursor as the grid's RecordSource and each time you need to change the data, you run the query into another cursor, then ZAP the original and APPEND FROM the other cursor.
Tamar
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