Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I have a date formatted as 18-MAR-2010 in a date field, I also have a text field with text in it. I created a calculation which combines these two fields into a third field. My problem is that I lose my date formatting once I get to the third combo text field. Is there anyway to hold on to that format or reformat the date portion once it is in the text field?

This is the calculation I have for the text field - (Transmittal Date & " Group " & Transmittal Group)

Thanks

Posted (edited)

The formatting you describe is a feature of the presentation on the layout and not something stored in the date field itself.

To make the date appear in that format as a string of text in a calculation you will need to do that formatting yourself. Or rather write a formula to teach FileMaker to do it.

You could do it like this:

Right("0" & Day(Transmittal Date); 2) & "-" &

Choose(Month(Transmittal Date); "";

"JAN"; "FEB"; "MAR"; "APR"; "MAY"; "JUN";

"JUL"; "AUG"; "SEP"; "OCT"; "NOV"; "DEC") & "-" &

Year(Transmittal Date)

Edited by Guest

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