I have quite a complicated costings forms with lots of calculations based on certain values.
I then have another data entry form which requires some of the information from the calculation form.
When the user enters information into the Data Entry form the afterupdate code writes the value to the Calcuation form. The Calculation form then works out the result and writes back the applicable result to the Data Entry Form.
This works fine accept that I can't control which record is showing in the calculation form.
I currently have a combo box on the calculation form that will go to the matching record.
I can get the text from the Data Entry form into this combo field but it won't go to the matching record until that form gets the focus.
I have an IIF fuction that does a similar thing and works because it updates straight away. How can I get that combo box code in the Calculation Form to update without giving the calculation form the focus?
OnChange or after update events don't work until the form has the focus.
Thanks for reading this Far.
Chucky
I then have another data entry form which requires some of the information from the calculation form.
When the user enters information into the Data Entry form the afterupdate code writes the value to the Calcuation form. The Calculation form then works out the result and writes back the applicable result to the Data Entry Form.
This works fine accept that I can't control which record is showing in the calculation form.
I currently have a combo box on the calculation form that will go to the matching record.
I can get the text from the Data Entry form into this combo field but it won't go to the matching record until that form gets the focus.
I have an IIF fuction that does a similar thing and works because it updates straight away. How can I get that combo box code in the Calculation Form to update without giving the calculation form the focus?
OnChange or after update events don't work until the form has the focus.
Thanks for reading this Far.
Chucky