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

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

Recommended Posts

Posted

perhaps someone can help me with the following :

I have a global text field - g_Month - which is used in a relationship. It contains a value list of Month names. There is a button on either side of this field on the layout which is supposed to cycle through the month names -

How do I obtain the previous / next month's name ?

Many thanks in advance,

Kindest Regards

Glorifindal

Posted

It's not clear what you are asking. Are you trying to build this functionality or use it? Are you the developer?

PS: You have ranked yourself as Advanced. Many people confuse this setting with the fact that they are using FM Advanced.

Posted

It would be a lot easier to calculate the first of the month (as a date) instead of the month's name. This has two advantages: (a) the year is included, and (: bumping a global date up or down a month is rather trivial. The global date field can be formatted to show only the month (or month and year, depending on the purpose).

Posted

The global date field can be formatted to show only the month (or month and year, depending on the purpose).

I did actually think about those lines, but the valuelist is the catching point... perhaps you can think of a way the dropdown won't show a series of dates instead of the names of the month?

--sd

Posted

I don't see the need for a value list or a drop-down - in my approach or in yours. But if required, the global could use a drop-down calendar, with auto-correction to the first of month of the selected date.

Posted (edited)

Well then I see something else:

I have a global text field - g_Month - which is used in a relationship. It contains a value list of Month names.

But if required, the global could use a drop-down calendar, with auto-correction to the first of month of the selected date.

Indeed behave, close ranks etc. LOL... but yes it usually how I do it as well. But here are the requirement made!

--sd

Edited by Guest
Posted

Well yes, he did say that - but I don't think it's necessary to have both arrows AND a drop-down with only 12 values. Of course, it's still possible with both methods - but my main point is that basing a relationship on month name alone will lump together records of February 2010, February 2009, etc.

Posted

Yes that's how I would do it and then use a calc'field to establish the upper range limit. But when did the drop down calender arrive was it by the arrival of fm8 or fm8.5 I could remember Shawn had some templates for fm7:

http://www.spf-15.com/fmExamples/

...his datepicker templates!

--sd

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