G
Guest
(I use WinXP, AccessXP, JET SP 8, ADO 2.8)
Hello.
I create a form with a subform inside. Subform has a linked table as
RecordSource. I assign it in Form Design View. When *main* form is opened, I
create a module-level DAO recordset and assign it to subform's Recordset (Set
subform.Recordset = MyDAO.Recordset). It worked fine until one day, GPF
happened and I can not solve that error. I have tried to decompile, compile
and compact. Error still occur. So, I decide to remove linked table in
subform's RecordSource and leave it blank in Form Design View. This time,
program work ok. (Note : I assigned linked table to able to select
ControlSource in subform)
From your experience, What did I do in the first time , Is it suitable ? or
that causes the GPF ?
Any suggestion is very appreciate
Hello.
I create a form with a subform inside. Subform has a linked table as
RecordSource. I assign it in Form Design View. When *main* form is opened, I
create a module-level DAO recordset and assign it to subform's Recordset (Set
subform.Recordset = MyDAO.Recordset). It worked fine until one day, GPF
happened and I can not solve that error. I have tried to decompile, compile
and compact. Error still occur. So, I decide to remove linked table in
subform's RecordSource and leave it blank in Form Design View. This time,
program work ok. (Note : I assigned linked table to able to select
ControlSource in subform)
From your experience, What did I do in the first time , Is it suitable ? or
that causes the GPF ?
Any suggestion is very appreciate