I have a main form which displays summary data and another form to enter data.
It is set up so when the data entry form closed the main form is updated immediately (only displaying info for that record ...but I don't think that has anything to do with my problem)
I have done this by entering
Forms!name of main form.Refresh on the after update section of the data entry form.
It works fine.......but......if you close the main form accidently with the data entry form still open and then try and close the data entry form it "debugs" into visual basic as it cannot find the main form to Refresh.
Is there a way round this......I am thinking along the lines of some sort of "only refresh if the form is open" but have no idea how to do this
Please help....I am becoming frustrated
It is set up so when the data entry form closed the main form is updated immediately (only displaying info for that record ...but I don't think that has anything to do with my problem)
I have done this by entering
Forms!name of main form.Refresh on the after update section of the data entry form.
It works fine.......but......if you close the main form accidently with the data entry form still open and then try and close the data entry form it "debugs" into visual basic as it cannot find the main form to Refresh.
Is there a way round this......I am thinking along the lines of some sort of "only refresh if the form is open" but have no idea how to do this
Please help....I am becoming frustrated