General information
Category:
Forms & Form designer
Title:
Setting Grid RecordSource causes class definition to be lost
I am having trouble with a particular grid on one of my forms. The RecordSourceType is 1 - Alias (specifically, a cursor generated by a SQL statement). The first time that I build the cursor and attach it to grid's RecordSource, the grid retains its parent class DblClick event for myGrid.Col1.text1.DblClick.
Whenever I rebuild the cursor by re-running the SQL SELECT, however, the parent class settings for the grid are lost. The DblClick event no longer works and even the column widths and fonts are changed to be what looks like a regular BROWSE window.
Can someone tell me what I might be missing?
Thanks in advance.
Next
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