I'll try that.  The fustration is that there should be no connection at 
all between the two data modules.  

I have found that I can get it to work if the filter in the data module 
that remains open doesn't extract values from any other tables.

Steven


> Steven,
> 
> It would appear that for some reason the table still has a reference to
> the datamodule that has been destroyed.  Ofcourse, the field that contains
> this is hidden.  So, I am not sure how you can prove it.
> 
> SUggestion, try settng dataset property in the datamodule to nil 
> before destroying it.
> 
> 
> On 17 Aug 99 at 17:34, Steven Wild wrote:
> 
> > We have 2 data modules.  Each is created and destroyed 
> > appropriately at run-time.  Each contains reference to the same 
> > table.  In each instance that table is filtered using the two filtering
> > properties.
> > 
> > Each data module is separately referenced by a different form.  If form
> > 'B' is opened and then closed while form 'A' is open, subsequently
> > refreshing the filtered table in the DM associated with form 'A' causes
> > an immediate access violation.
> > 
> > We are confused!  Can anyone explain, or suggest work arounds 
> > that won't destroy functionality?
> > 
> > Steven
> > Steven Wild
> > Director
> > Wild Software Ltd
> > P O Box 33-216
> > Christchurch, NZ
> > Ph & Fax  64 3 377-0495
> >     _______________________
> > 
> >     Chreos Business Systems
> >     _______________________
> > ------------------------------------------------------------------------
> > ---
> >     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> >                   Website: http://www.delphi.org.nz
> > 
> Rohit
> 
> ====================================================================== CFL
> - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand PH   
> (649) 489-2280 FX    (649) 489-2290 email [EMAIL PROTECTED]  or 
> [EMAIL PROTECTED]
> ======================================================================
> 
> 


Steven Wild
Director
Wild Software Ltd
P O Box 33-216
Christchurch, NZ
Ph & Fax  64 3 377-0495
    _______________________

    Chreos Business Systems
    _______________________
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to