J jiajian Registered User. Local time Today, 20:29 Joined Sep 19, 2002 Messages 28 Jan 16, 2003 #1 Hi I have a DB with date format "mm-dd-yy". How can I total up all related record in Month e.g Jan02, Feb02...Dec02. Any sample you can share which I can presented it in graph? Thanks jiajian
Hi I have a DB with date format "mm-dd-yy". How can I total up all related record in Month e.g Jan02, Feb02...Dec02. Any sample you can share which I can presented it in graph? Thanks jiajian
Fuga Registered User. Local time Today, 14:29 Joined Feb 28, 2002 Messages 566 Jan 16, 2003 #2 I think you can use month([yourdatefield]) and group by in a query. Fuga.
J jiajian Registered User. Local time Today, 20:29 Joined Sep 19, 2002 Messages 28 Jan 17, 2003 #3 Thanks I knew about using this. However, it can not differntiate the year if you have different year. E.g Oct02, Nov02, Dec02, Jan03, Feb03... jiajian
Thanks I knew about using this. However, it can not differntiate the year if you have different year. E.g Oct02, Nov02, Dec02, Jan03, Feb03... jiajian
S shay Registered User. Local time Today, 13:29 Joined Apr 29, 2002 Messages 169 Jan 17, 2003 #4 I knew about using this. Click to expand... ... so why not include year([yourdatefield]) and group on both? shay
I knew about using this. Click to expand... ... so why not include year([yourdatefield]) and group on both? shay
A antomack Registered User. Local time Today, 13:29 Joined Jan 31, 2002 Messages 215 Jan 17, 2003 #5 Create a new field in your query made up as below and group on it. Year([YourDateField]) & Format(Month([YourDateField]),"00") You can use a second field to give the format you want of MMMYY for use on your report/graph. Format([YourDateField],"MMMYY")
Create a new field in your query made up as below and group on it. Year([YourDateField]) & Format(Month([YourDateField]),"00") You can use a second field to give the format you want of MMMYY for use on your report/graph. Format([YourDateField],"MMMYY")