Click here to Skip to main content
15,927,744 members
Home / Discussions / Database
   

Database

 
GeneralFilling a DataGrid Pin
Crocmort5-May-02 7:08
Crocmort5-May-02 7:08 
GeneralRe: Filling a DataGrid Pin
Mazdak5-May-02 9:00
Mazdak5-May-02 9:00 
GeneralRe: Filling a DataGrid Pin
Crocmort5-May-02 13:51
Crocmort5-May-02 13:51 
GeneralRe: Filling a DataGrid Pin
Mazdak5-May-02 19:10
Mazdak5-May-02 19:10 
GeneralRe: Filling a DataGrid Pin
Crocmort5-May-02 18:02
Crocmort5-May-02 18:02 
GeneralRe: Filling a DataGrid Pin
Mazdak5-May-02 19:12
Mazdak5-May-02 19:12 
GeneralRe: Filling a DataGrid Pin
CSharpLady8-May-02 10:08
CSharpLady8-May-02 10:08 
GeneralAccess auto-query help Pin
alex.barylski4-May-02 17:55
alex.barylski4-May-02 17:55 
I have managed to (using the power of wizards) create the following SQL/Access code. It basically groups the dates togather and SUM's the total money spent at a particular company for that given month in a columnar fashion.

How would I add to the follwoing code:

SELECT DISTINCTROW Format$([Expense].[Date],"mmmm yyyy") AS [Date By Month], Expense.Company, Sum(Expense.Amount) AS [Sum Of Amount]
FROM Expense
GROUP BY Format$([Expense].[Date],"mmmm yyyy"), Expense.Company, Year([Expense].[Date])*12+DatePart("m",[Expense].[Date])-1;


and make it tally a total of all expeditures also and include a column at the bottom for the TOTAL.

I hope I made sense...

Thanx! Smile | :)

"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
GeneralRe: Access auto-query help Pin
Nick Parker5-May-02 16:39
protectorNick Parker5-May-02 16:39 
GeneralRe: Access auto-query help Pin
alex.barylski6-May-02 19:05
alex.barylski6-May-02 19:05 
GeneralUpdating a Access Database Pin
Sparky256DSL4-May-02 7:55
Sparky256DSL4-May-02 7:55 
GeneralRe: Updating a Access Database Pin
l a u r e n4-May-02 23:17
l a u r e n4-May-02 23:17 
GeneralRe: Updating a Access Database Pin
Sparky256DSL5-May-02 4:29
Sparky256DSL5-May-02 4:29 
GeneralSQL Server Desktop - VS NET Pin
Martin Haesemeyer3-May-02 8:12
Martin Haesemeyer3-May-02 8:12 
GeneralDSN question Pin
alex.barylski2-May-02 16:14
alex.barylski2-May-02 16:14 
GeneralRe: DSN question Pin
markkuk2-May-02 19:47
markkuk2-May-02 19:47 
GeneralRe: DSN question Pin
alex.barylski2-May-02 22:38
alex.barylski2-May-02 22:38 
GeneralRe: DSN question Pin
markkuk3-May-02 0:00
markkuk3-May-02 0:00 
GeneralRe: DSN question Pin
alex.barylski3-May-02 12:01
alex.barylski3-May-02 12:01 
GeneralRe: DSN question Pin
Philip Patrick2-May-02 20:31
professionalPhilip Patrick2-May-02 20:31 
GeneralRe: DSN question Pin
alex.barylski2-May-02 22:40
alex.barylski2-May-02 22:40 
GeneralActiveXScript For DTS Documentation Pin
qmuffs2-May-02 4:47
qmuffs2-May-02 4:47 
GeneralRe: ActiveXScript For DTS Documentation Pin
Nick Parker2-May-02 6:10
protectorNick Parker2-May-02 6:10 
GeneralRe: ActiveXScript For DTS Documentation Pin
qmuffs2-May-02 8:13
qmuffs2-May-02 8:13 
GeneralRe: ActiveXScript For DTS Documentation Pin
Nick Parker2-May-02 15:29
protectorNick Parker2-May-02 15:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.