Jump to content
Sign in to follow this  
Daniel W

Checkbook Sub-Summaries

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.