Hi there,
I have built a DataModule in which 2 Connections take place (TAdoConnection, TAdsConnection). For each connection, there's a query object associated with it to extract results (TAdoQuery and TAdsQuery).
So, many forms actually use these query objects directly and all works fine. Now, I'm trying to build a frame that will access the same query object as done within other forms. Msg 'Access Violation at address 004FCEAE'.
The problem occurs only when accessing query from within my frame: all works fine when accessing it from normal forms.
Any idea?
Thank you in advance
I have built a DataModule in which 2 Connections take place (TAdoConnection, TAdsConnection). For each connection, there's a query object associated with it to extract results (TAdoQuery and TAdsQuery).
So, many forms actually use these query objects directly and all works fine. Now, I'm trying to build a frame that will access the same query object as done within other forms. Msg 'Access Violation at address 004FCEAE'.
The problem occurs only when accessing query from within my frame: all works fine when accessing it from normal forms.
Any idea?
Thank you in advance