Jump to content

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

Recommended Posts

  • Newbies
Posted

Although I've not studied FileMaker Pro for quite some time, I do have a file that I use frequently, named "Checkbook" that consists of numerous buttons linked to scripts.

Here is my problem: I wish to create a layout whereby:

1) I can view the entire checkbook and view (and print) the total expenditures month by month.

2) I can call up a category and view the totals of that category month by month.

I’m guessing that it entails a sub-summary, but I can’t make it work.

Please note that my date field is formatted as mm-dd-yy.

The layout can be viewed at: www.46952.com/checkbook.jpg

Posted

You should turn the date into month and year sans the day, here comes this calculation field returning result as number in handy:

Year(theDate) & Right("0" & Month(theDate);2)

...as "sort by" and breaker field for the summary of expenditures, when trying to see this as a subsummary report.

--sd

  • Newbies
Posted

Søren Dyhr,

Thank you for your very prompt reply. I feel that I’m about 99% there, but I have a couple of questions.

You suggested the following calculation field:

Year(theDate) & Right(“0” & Month(theDate):2)

I haven’t the slightest understanding of the logic, but that’s not important right now.

Not knowing if you were suggesting that I reformat my original field named “Date,” I kept my original “Date” field (Type: Date) and created a new calculation field named “Date2.”

But, when I created the new calculation field and tried to save it, FileMaker told me that there was no such field name as “theDate,” so, I deleted the word “the.”

I then created the sub-summary sorting on the field named “Date2”. PRESTO! Viewed in Preview Mode it came out ALMOST as I had hoped. Only one small problem: The dates shown were in reverse order.

See: www.46952.com/reversed_order_of_date.jpeg

It shows the last entry of the month at the top, rather than at the bottom of the list, where I prefer it to be. Is there a quick fix?

Thanks,

Daniel

Posted

It's pretty straight forward, just stack a list of sortorders, if you switch their order will you get diffferent results - a hierarchy is working!

You might examine my template, or just go ahead with your own!

--sd

Billede_2.jpg

checkbook.zip

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