I have a form, with a record source with SQL.
In this form I have two subforms, each with a SQL query as the subform record source.
One of the two subforms is used as a reference. For example, the subforms tells me how many tonns of cargo is left on the ship. In the other subform I type in how many tonns I take out of the ship and how many I load into the ship. For each time I change the value (or enters a value) in the subform that tells me how many tons I take out or put in, I want the subform that displays the cargo tonns that are left on the ship. I need to update the subform from whithin the other subform. The focus is set on one subform and I need to update the second subform. I have tried for some time, with the requery function, but can not get it right. Please help me someone. Cause I could really need it. So I sleep better during the nights.
If you answer, THANK YOU VERY MUCH.
In this form I have two subforms, each with a SQL query as the subform record source.
One of the two subforms is used as a reference. For example, the subforms tells me how many tonns of cargo is left on the ship. In the other subform I type in how many tonns I take out of the ship and how many I load into the ship. For each time I change the value (or enters a value) in the subform that tells me how many tons I take out or put in, I want the subform that displays the cargo tonns that are left on the ship. I need to update the subform from whithin the other subform. The focus is set on one subform and I need to update the second subform. I have tried for some time, with the requery function, but can not get it right. Please help me someone. Cause I could really need it. So I sleep better during the nights.
If you answer, THANK YOU VERY MUCH.