A
Ange Kappas
Hi,
I have a form called DEPARTURES which has a STATUS field and a check
Box field called CHECK OUT.
What I want to do by using SQL in code is to set on a Table called RESPEL
the STATUS field to OUT when I check the check box, which checks the
corresponding RESNO field in the DEPARTURES form to be the same as the RESNO
field in the RESPEL form.
I tried to use the following but probably got it wrong:
Private Sub CHECK OUT_AfterUpdate()
strSQL = "Update RESPEL SET([STATUS] = OUT) WHERE DEPARTURES.RESNO =
RESPEL.RESNO"
End Sub
Any Help?
Thanks
Ange
I have a form called DEPARTURES which has a STATUS field and a check
Box field called CHECK OUT.
What I want to do by using SQL in code is to set on a Table called RESPEL
the STATUS field to OUT when I check the check box, which checks the
corresponding RESNO field in the DEPARTURES form to be the same as the RESNO
field in the RESPEL form.
I tried to use the following but probably got it wrong:
Private Sub CHECK OUT_AfterUpdate()
strSQL = "Update RESPEL SET([STATUS] = OUT) WHERE DEPARTURES.RESNO =
RESPEL.RESNO"
End Sub
Any Help?
Thanks
Ange