What's the problem?
Create a table called.. maybe LoginRecord with a few fields
UserId, LoginDate, Logintime, LogoutDate, LogoutTime
Each time a user logs in to the application insert a record into this table
Insert into LoginRecord Values ('Minesh', Time(), Date())
Also create a global variable which stores the record number of the record you have inserted
When the user logs out, or on shutdown go to that record and
replace LogoutTime with time(),LogoutDate with Date()
HTH
Will
>Dear All,
>I want to store Data of user Login and Logout time including username, in Vfp Table, Since my Senior wants reports of login and logout time of user.
>Thanku.
Will Jones