Hello,
I have got my program functioning but wonder whether there is a better way of doing the following:
I have a main form 'MAIN' with a sub form 'SUB'. (linked by master and child fields ref and link_ref.
I modify the data in the subform by opening a popup form 'POPUP'
When the pop up closes I want the MAIN and SUB to update.
At present I am using the on close event as follows:
forms!main.refresh
This works OK, but seems to flcker quite a lot.
I wonder if there are better ways to do this and whether using the onclose event is the correct one?
I also see that requery and recalc commands perform a similar way - are any of these better?
I note that the code forms!main.refresh works and also forms!main!refresh works. Which is correct and why - what differnce does the ! or . make?
Maybe my approach is incorrect?
Alot of questions but hopefully someone can help - I can't face many more 4 am sessions!!
Thanks Mark
I have got my program functioning but wonder whether there is a better way of doing the following:
I have a main form 'MAIN' with a sub form 'SUB'. (linked by master and child fields ref and link_ref.
I modify the data in the subform by opening a popup form 'POPUP'
When the pop up closes I want the MAIN and SUB to update.
At present I am using the on close event as follows:
forms!main.refresh
This works OK, but seems to flcker quite a lot.
I wonder if there are better ways to do this and whether using the onclose event is the correct one?
I also see that requery and recalc commands perform a similar way - are any of these better?
I note that the code forms!main.refresh works and also forms!main!refresh works. Which is correct and why - what differnce does the ! or . make?
Maybe my approach is incorrect?
Alot of questions but hopefully someone can help - I can't face many more 4 am sessions!!
Thanks Mark