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 5264 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a Text field that I use to enter information in, nothing special about it, just notes. I have a button next to it that inserts the "Current Date" wherever the cursor happens to be. The date shows as 24/08/2010 is there some way I can get it to show as 24-08-2010.

Posted

You can select how a date is displayed in layout mode. Right Click on the field, and select Date Format. This will not change the data, but it will display the date as you wish.

HTH

Lee

Posted

Thanks raybaudi, works fine, except for one minor detail, it removes all the text that is currently in there. To Lee, tried Right Click in Layout Mode and cannot find any reference to date Format.

Thanks

Posted (edited)

If the date is located as the first entry in your text field, you only need to add an [color:blue]& YourField to Danielle's calculation. However, if it is in the middle of the text, then you use the Replace Script step instead, it will leave the other text alone.

Replace Field Contents [ YourTextField; Replace with calculation: Substitute ( YourTextField ; "/" ; "-" ) ] [ No dialog ]

Keep in mind, that if you have any other [color:blue]/ in your text, they will be replaced too. The Replace is an agressive function, and can not be undone.

HTH

Lee

Edited by Guest
Posted

it removes all the text that is currently in there.

Deselect the "Select entire contents" option.

BTW, you should consider creating a new record for each note, with a dedicated field for the date - instead of cramming everything into one field.

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