Click here to Skip to main content
15,894,539 members

Comments by P.S Vijay (Top 13 by date)

P.S Vijay 27-Feb-13 1:17am View    
thanks
P.S Vijay 27-Feb-13 1:17am View    
Thanks
P.S Vijay 27-Feb-13 1:17am View    
Thanks for your support .... It is working fine .... :)
P.S Vijay 6-Feb-13 4:05am View    
My Mob No is 9388365646
P.S Vijay 22-Jan-13 23:49pm View    
ohhhh.... I am so sorry.... I was so busy last 3-4 days, So I didn't log in code project.

As per you requirement, I create a table for u ... plz have a look ..

Table Name : GMLogData
------------------------------------------------
FieldsName Datatype
------------------------------------------------
TransID bigInt Not Null
CardNo nvarchar(24)Not Null
LogIn_ID Int NotNull
LogOut_ID Int Null
Remarks ntext Null
------------------------------------------------
Business workflow
------------------
System shall find out in GMLogData(New Table) using CardNo wether LogOut_ID is null or not
If Logout_ID is null then System will be update Logout_Id.
Other wise insert a new row and update TransID ,Login_ID (LogOut_Id will be null).

User Workflow
------------
When Employee comes in, then the TransID and LogIn_ID will be insert and when Employee leave from the office at that time, LogOut_ID will be update for the same row.
Remarks : In the case of Manual (If employee forgot his access card). So you can put a manual entry and write the remark.