How to get real-time stamp on employee time sheets

J

Janell55

I wanted to use the time sheet but I need a time stamp for clocking in and
out. Does anyone have any ideas as to how to set this up?
 
B

Bob C.

I did this with managed code. When you click on a button, the code sets the
row's timerrunning field to true, and sets the rows timerstarttime to the
current time.

Clicking the row again does a datediff on the start time and the current
time to set the row to the elapsed.

I'll see if I can post an example.

NOTE: There are some tricks to working with time in infopath, as it has to
be in the format yyyy-mm-ddThh:mm:ss.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top