Hi! I already finished the coding and tested my newly created application but I get stuck on this one problem:
" recordsets management under MDI application with many child forms using the same recordset name connected to same/different table and sometimes stated differently "
THIS IS REALLY VERY URGENT ....HELP ME.!!!
I really need some practical and enlightening advice on how to manage recordsets opened in different child forms under MDI App.
(I want here clean management of recordsets and connection place under a single location)
What I usually do is create a module and declare in it a connection and recordsets so that all forms can refer into it. Then, in my MAIN FORM, I set and instantiate them.
When I need a a certain recordset, I just Open a table for it, for example, in childform1 so that a childform1 has recordset1 connected to a table1.
Then I created a second child form and use also the same recordset1 but connected to a different table (sometimes with the same table as childform1 but with different statement)
My problem goes like thisI know u can guess what it is)!
When I run the MDI App., and call childform1, recordset1 fires...so no problem about this. Then, without closing childform1, I call childform2 with the same recordset1 in it connected or stated differently from recordset1 in childform1.....and there the problem goes...
" recordset1 is still open, so I can't open again unless
I close it."
But closing it will affect my databound controls in childform1 so I don't want to close it. I don't want to use many instances of recordsets and clones. The same thing happens when I close recordset1 in childform2...childform1 will be affected!!!!
PLEASE GIVE ME SOME SUREFIRE TECHNIQUES ON THIS!!!!!!!!!
ERA
era@nittsu.com.ph
era@digitelone.com
" recordsets management under MDI application with many child forms using the same recordset name connected to same/different table and sometimes stated differently "
THIS IS REALLY VERY URGENT ....HELP ME.!!!
I really need some practical and enlightening advice on how to manage recordsets opened in different child forms under MDI App.
(I want here clean management of recordsets and connection place under a single location)
What I usually do is create a module and declare in it a connection and recordsets so that all forms can refer into it. Then, in my MAIN FORM, I set and instantiate them.
When I need a a certain recordset, I just Open a table for it, for example, in childform1 so that a childform1 has recordset1 connected to a table1.
Then I created a second child form and use also the same recordset1 but connected to a different table (sometimes with the same table as childform1 but with different statement)
My problem goes like thisI know u can guess what it is)!
When I run the MDI App., and call childform1, recordset1 fires...so no problem about this. Then, without closing childform1, I call childform2 with the same recordset1 in it connected or stated differently from recordset1 in childform1.....and there the problem goes...
" recordset1 is still open, so I can't open again unless
I close it."
But closing it will affect my databound controls in childform1 so I don't want to close it. I don't want to use many instances of recordsets and clones. The same thing happens when I close recordset1 in childform2...childform1 will be affected!!!!
PLEASE GIVE ME SOME SUREFIRE TECHNIQUES ON THIS!!!!!!!!!
ERA
era@nittsu.com.ph
era@digitelone.com