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

Recommended Posts

Posted

Hi there!

I've been tossing and turning over this one; I'm convinced it has a relatively easy solution but I can't seem to find it.

In my database, I have 2 sets of dates: Start and End, both working with a dropdown calendar on the layout. What I would now like to do is, when the Start date is filled out, set the value of the End dropdown calendar to at least the same date as Start, [color:red]without actually showing that date as a field value!

This to avoid that the user thinks he has already filled out the End date.

Suggestions, anyone?

Posted

The drop down calendar defaults to the current date if the field is blank. If the field has a value in it, it will show that date as the default in the calendar.

There is no way (sans a plugin possibly or creating your own popup calendar) to set that calendar default date to a date of your choice.

Posted

OK, short and to the point. I like that, even though your message has devastated me... I was soooo convinced that there would be an easy workaround.

Thanks anyway.

Posted

LET (trigger = Hide; ...)

Trying to understand the logic behind the solution. What does "trigger" do? Is it a variable (I don't see the classic "$" variable indicator)? Or a function (can't see it in my functions list)?

Posted

You can set a variable for the duration of the calc without referencing it such as a script local variable with $. Check out the help file on Let (). Basically, it is being used as a way to force the calc to recalcuate when the value of the other field Hide changes.

Posted (edited)

My question is I'm not familiar with 'trigger' as in the calc.

Where'd you get that function?

Edited by Guest
Posted

Its not a function. Its a local calc variable that I am setting using the let statement. I could call it hamburger instead of trigger if I wanted to.

Posted

Its not a function. Its a local calc variable that I am setting using the let statement. I could call it hamburger instead of trigger if I wanted to.

Aaaaaaaaaaaaaaaaahhhhhhhhhhhhhhhhh !

Very weak on calc.'s but I just learned something useful after dissecting the hide calc.

Thanks

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