I have an append query that uses a variable on a form as a criteria.
The criteria of the query is something like this.
WHERE ((tblLoanTrans.ControlNo)=[forms]![frmLoanRO]![ControlNo])
I have another form frmLoanDD, with similar but slightly different controls.
I want to use the same append query using a criteria based on the textbox on frmLoanDD.
WHERE ((tblLoanTrans.ControlNo)=[forms]![frmLoanDD![ControlNo])
Is there any way to do this without making another append query with this criteria?
I tried to use a public variable, but couldn’t figure out how to put the public variable in a query.
Any suggestions would be greatly appreciated!
Yoko
The criteria of the query is something like this.
WHERE ((tblLoanTrans.ControlNo)=[forms]![frmLoanRO]![ControlNo])
I have another form frmLoanDD, with similar but slightly different controls.
I want to use the same append query using a criteria based on the textbox on frmLoanDD.
WHERE ((tblLoanTrans.ControlNo)=[forms]![frmLoanDD![ControlNo])
Is there any way to do this without making another append query with this criteria?
I tried to use a public variable, but couldn’t figure out how to put the public variable in a query.
Any suggestions would be greatly appreciated!
Yoko