Page 1 of 1

Possible to have month view times in order?

PostPosted: Wed Apr 13, 2011 4:39 pm
by allright
Let's say I'm looking at a specific day in the Month view. If I have two events entered.... 8am and 12pm, and then create a new event for 9am, it'll show after the 12pm instead of between the 8am and 12pm.

Is there a way to have these sorted by event time?

Re: Possible to have month view times in order?

PostPosted: Thu Apr 14, 2011 6:18 am
by JasonYoung
Hi Larry,

These should be sorting by time every time the calendar refreshes, which should happen when you close the event window. Does it sort correctly when you hit refresh?

-Jason

Re: Possible to have month view times in order?

PostPosted: Thu Apr 14, 2011 8:16 am
by allright
Screen Shot 2011-04-14 at 9.12.21 AM.jpg
Screen Shot 2011-04-14 at 9.12.21 AM.jpg (22.34 KiB) Viewed 6845 times


Jason, the calendar does NOT sort correctly after refresh. All three of the times shown have beginning and end times.
Thoughts?
Larry

Re: Possible to have month view times in order?

PostPosted: Thu Apr 14, 2011 9:07 am
by JasonYoung
Not sure what's going on. I can't replicate on my copies of Pro or Complete.

Could you be using text fields for the time values?

-Jason

Re: Possible to have month view times in order?

PostPosted: Thu Apr 14, 2011 9:48 am
by allright
Jason, the beg and end times are "Time" fields.
I've also double checked the z_sc_TimestampEndCalc and z_sc_TimestampStartCalc and they look good as well.

It appears that they sort by creation date!

any possibility of a screen share session?

Larry

Re: Possible to have month view times in order?

PostPosted: Thu Apr 14, 2011 10:19 am
by JasonYoung
Can you send me your file(s), and I'll take a look at them. I don't mind the screen share, but I think there's some "under the hood" stuff going on that can be a little pain full reviewing that way :D .

You can send them to [email protected], or if they're over 15mb zipped, you can use something like:

http://www.sendbigfiles.com

Let me know,
-Jason

Re: Possible to have month view times in order?

PostPosted: Thu Apr 14, 2011 11:48 am
by allright
Jason, I've sent a link to the files,
L

Re: Possible to have month view times in order?

PostPosted: Fri Apr 15, 2011 6:36 am
by JasonYoung
Just a follow up to this thread.

The script that sorts the event records before loading them into global variables is

Sort FileMaker Records --- Edit Sort Orders Here ---

This has script steps in it that sorts by DateStart and TimeStart as the default, but the specific sort orders had been cleared from the script steps somehow. Once we restored the script step to it's default sort order everything worked fine.

Thanks Larry!