nixdorf Posted July 26, 2012 Posted July 26, 2012 Hi, I don't know is possible to define a field with an automatic intro of 12 digits number: year/month-Day-hour-minute-second (12/0726184752). Is possible? Thanks!
comment Posted July 26, 2012 Posted July 26, 2012 No, but it is possible to enter a serial number and translate it (in a calculation field) to the corresponding timestamp. What would be the purpose here?
Raybaudi Posted July 26, 2012 Posted July 26, 2012 No Why not ? For example this: Let( t = Get ( CurrentTimeStamp ) ; Right ( Year ( t ) ; 2 ) & "/" & Right ( "00" & Month ( t ) ; 2 ) & Right ( "00" & Day ( t ) ; 2 ) & Right ( "00" & Hour ( t ) ; 2 ) & Right ( "00" & Minute ( t ) ; 2 ) & Right ( "00" & Seconds ( t ) ; 2 ) ) in an auto-enter text field. Naturally NOT to be used as an unique ID.
nixdorf Posted July 27, 2012 Author Posted July 27, 2012 Thanks, really works!! "Serial" number (for each job in my case) is necessary discontinued because the same number is an FTP access, thus in a single day there are 86400 possible numbers and never can be repeated a number
comment Posted July 27, 2012 Posted July 27, 2012 the same number is an FTP access, Not sure what that means. in a single day there are 86400 possible numbers and never can be repeated a number No, that's not true. There are 86400 seconds in a day, and if you (or another user) create more than one record in the same second, you will have a duplicate. 2
Recommended Posts
This topic is 4560 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 accountSign in
Already have an account? Sign in here.
Sign In Now