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

Recommended Posts

Posted (edited)

I'm having a little problem completing a graphic interface

I have a start time and end time

The graphic displays the start and end time

I have managed to display the hours ... but want to refine it to the quarter hour.

i have managed to work out a way of doing it (by hard coding the results 0 to 4 (x:00=0, x:15=2, x:30=3, x:45=4)... but can not get my calc to work. (notes in calculation)

I will further refine it by changing the calc by rounding the minutes to the quarter hour after resolving this.

I would also like to put the left and right graphic on either end of the time block ... but will tackle this afterwards

Any help would be great ... i think that i can not see the wood for the trees.

Oh and if you can see an even simpler way of achieving this im all ears.

File Attached

best

Stuart

TimeBlock.fp7.zip

Edited by Guest
Posted (edited)

Something like this?

Let ( [

s = Round ( Extend ( Start_Time ) / 900 ; 0 ) ;

e = Round ( Extend ( End_Time ) / 900 ; 0 ) ;

i = Get ( CalculationRepetitionNumber ) - 1

] ;

GetRepetition ( Graphics ; 1 + ( i ≥ s ) + ( i ≥ e ) )

)

Edited by Guest
Posted

Hi Comment,

This is really, really good.

I will modify it a little for my purposes.

I have not really dealt with time very often and had never considered handling dates as numerical values.

This is really going to make my life alot easier.

Thanks again,

Stuart

:thankyou:

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