You are probably getting an error because the other form is not open, although that is usually a can't find form error.
I would go right to the table level with this one.
You could create an update query, and then for the Update to: post the name of the open form and text box, like:
Update To: [Forms]![frmAccountData].[curPmtAmtNew]
Then just run the query:
DoCmd.SetWarnings False
DoCmd.OpenQuery "qryYourUpdateQuery"
DoCmd.SetWarnings True
If that doesn't work, we can just do code. You could also open the other form Hidden, make the update and then close it.
HTH
mmcdonal
|