Newbies Daniel W Posted November 5, 2006 Newbies Posted November 5, 2006 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
Søren Dyhr Posted November 5, 2006 Posted November 5, 2006 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 Daniel W Posted November 6, 2006 Author Newbies Posted November 6, 2006 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
Søren Dyhr Posted November 6, 2006 Posted November 6, 2006 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 checkbook.zip
Newbies Daniel W Posted November 6, 2006 Author Newbies Posted November 6, 2006 Again, Again, thank you for your prompt reply. I’ll need more time to study the suggested answer. Daniel W
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now