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

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

Recommended Posts

Posted

how do i do a script that if I have 2 parameter.

parameter A is cheek in date and parameter B is cheek out date.

how can i cheek that if parameter b is smaller then parameter a it will tell me?

Posted

Write them concatenated with a pilcrow ¶ as one single, and then inside the script split them with GetValue(

http://www.filemaker.com/help/FunctionsRef-355.html

Then is it something in the vicinity of:

If [ GetAsDate(GetValue ( Get ( ScriptParameter ) ; 1 ))  < GetAsDate(GetValue ( Get ( ScriptParameter ) ; 2 )) ] 

#your stuff here!!! 

End If 

--sd

Posted (edited)

Something isn't working with your attachment, so I include a template!

--sd

Edited by Guest

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