General information
Category:
Forms & Form designer
I had the same trouble with sources and columns, and have added code to my class that handles that situation. So that shouldn't be the problem.
The thing is, I've got loads of grids that work this way in the system, all of my screens are container classes that sit on a single form, the grids work fine this way, but when I place my grids on just a form on it's own is when I get this problem, I haven't changed anything, just placed the grid on a form instead of one of my container classes!
Kev
>I've skimmed through your thread and if I understand what you need I think I can help. I had trouble with grid column widths when the record source's cursor was requeryed and then assigned back to the record source. The columns, among other things, would get all botched up. What I did was create a grid class with a method in it that would allow you to load it's grid properties from a table. For example, the table would store grid column widths in it. In your forms init you call this method. The method reads in the column widths and assigns them to the grid. In your case you would be able to control your column widths this way.
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