General information
Category:
Coding, syntax & commands
Hello:
Just added the goto currec in debugging, it is updating properly,
but I still don't know why it's also updating the last record in my table???
My code is as follows:
If upper(allt(ThisForm.text2.value)) = upper(allt(Users.Password))
select users
seek(username)
User = Users.c_id
useview = Users.view
useupd = Users.update
replace users.date_in with DATE(), users.time_in with TIME(), users.date_out with { / / }, users.time_out with ""
Thisformset.Catstoolbar1.visible = .T.
Thisformset.frmmain.visible = .T.
thisformset.form2.visible = .F.
Else
=messagebox("Invalid Username and Password, Try Again !"),16, "CATS")
Return
Endif
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only