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

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

Recommended Posts

Posted

Hello all,

The client I am developing for uses a Stock ID number for each individual piece he sells. Each piece is unique and has a unique number. Part of this number is the six digit date (MMDDYY) the item was received.

Is there a way to convert an auto-enter date (MM/DD/YYYY) that is made with each new record to just MMDDYY so I can use it in a calculation to help automatically created the stock ID number?

Thanks

Drew

Posted

I would never use anything but serial autoenters for ID'ing a record!

Beyond that lets apply the Sinatra doctrine:

Right("0" & Month ( theDate );2) &

Right("0" & Day ( theDate );2) &

Right(Year ( theDate );2)

--sd

Posted

Thanks for the advise. I actaully am using an autoenter in the background for all realationships. I just have to implement a system they are used to seeing.

I am quite new to FMP and was not sure how to implement your calculation. How exactly do i have it reference to a date say from a time stamp or one choosen from the pop up calendar feature.

Thanks for the help :

Drew

Posted (edited)

I made it work!!! Thanks so much! For anyone else in my shoes of being a novice, I just put the field for time stamp which is created at record creating in the ( theDate)

Edited by Guest

This topic is 6661 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.