Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8151 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

i have a timesheet program that has (among other fields) a value list field for start time and a value list field for end time...

each employee must enter their time for each client and enter start and end times for per record...

is there a way to copy the end time from the previous record into the start time of the new record so the employee doesn't have to enter the start time for each new record?

thanks

Posted

You can use one of the Auto-Entered options, which is Value from Previous Record. However this will break if more than one person is entering records at the same time. I would suggest storing that data in some globals fields and have the person press a button to create a new record, which will store the data, create the new record and then set the fields for them to modify.

Posted

the problem with auto enter option is that I need to copy the end time field from the previous record into the start time field of the next record...

the auto-enter command doesn't allow me to do this...i think

Posted

You're on the right track with auto-enter, only I suggest making Start Time a look-up field.

I did a quick test, which you can adapt to your needs:

Define Fields:

Start_Time (Time, Look-up)

End_Time (Time)

gConstant (indexed calculation, number) = 1

Define a self-join relationship, say, Constant, which relates gConstant to itself. Sort by End_Time descending

Define Start_Time to Look-up End_Time based on the Constant relationship.

There are many drawbacks to this very basic system, but with some adaptation you should be able to get it to work with multiple users, etc. The key, as it were, is in the key field for the relationship.

At any rate, I've attached a sample file (zipped) for your perusal.

Hope this helps.

This topic is 8151 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.