Hello,
I'm having a problem in saving data. I have set up a 3 page process which can be seen below. Initially, a check in person will put in an ID number of a person entering or leaving the facility and press enter (page 1). This takes the check in person to page 2 where they will select from a pair of radio buttons whether a person is entering or leaving the facility. If entering, the status is 0. If leaving the status is 1. If the status is 0, the ckin variable gets set to the current time. If leaving, the ckout variable gets set to the current time.
The users are already in the db. All I want to do is update the value of either ckin or ckout in their record. The problem I'm having is when I use the DB save action, it creates a new record for that user instead of just updating the ckin or ckout value of the user's record.
[attachment=0]CF.jpg[/attachment]
I'm obviously missing something here.
Thanks for your help.
I'm having a problem in saving data. I have set up a 3 page process which can be seen below. Initially, a check in person will put in an ID number of a person entering or leaving the facility and press enter (page 1). This takes the check in person to page 2 where they will select from a pair of radio buttons whether a person is entering or leaving the facility. If entering, the status is 0. If leaving the status is 1. If the status is 0, the ckin variable gets set to the current time. If leaving, the ckout variable gets set to the current time.
The users are already in the db. All I want to do is update the value of either ckin or ckout in their record. The problem I'm having is when I use the DB save action, it creates a new record for that user instead of just updating the ckin or ckout value of the user's record.
[attachment=0]CF.jpg[/attachment]
I'm obviously missing something here.
Thanks for your help.