Does anyone know a way to force a parent form to update all displayed flowfields on screen from within a function/trigger of the subform?
My problem is basically that I'm displaying a sum flowfield in my header that is based on the subform lines and I need this figure to update every time I update or insert a new subform line.
Anyone have any ideas?
(Happy Holidays!)
Thad Ryker
I traded my sanity for a railgun
0
Comments
Activate the OnTimer trigger on the main form. Code a CURRFORM.UPDATE (could be CURRFORM.UPDATE(False)) in this trigger. Be sure you only do this update if there is something to update to get a better performance!
Check http://www.mibuso.com/dlinfo.asp?FileID=290 and http://www.mibuso.com/dlinfo.asp?FileID=321 of samples.
If it was hard to write, it should be hard to understand."
This subject is discussed a lot.
I tried using the timer idea already but it creates a new problem even though it solves my first one. The problem being that if it updates every half or full second (which is what I'd need) the subform keeps refreshing and makes it extremely frustrating for anyone trying to enter data in it.
It's almost a catch 22 scenario:)
I traded my sanity for a railgun