Oct 27, 2006 #1 waymond Programmer Joined Mar 1, 2005 Messages 118 Location US I have a sum calculation I need to use in a query Total: ([raised]-[disbursed]) expression How do I get this in the table for the total field. Lets say my table is called funding
I have a sum calculation I need to use in a query Total: ([raised]-[disbursed]) expression How do I get this in the table for the total field. Lets say my table is called funding
Oct 27, 2006 #2 AlexCuse Programmer Joined Apr 13, 2006 Messages 5,416 Location US Code: select ([raised]-[disbursed]) as TOTAL from FUNDING or in query designer: Total: (FUNDING.[raised]-FUNDING.[disbursed]) If your integers are stored as text however, you will need to use the format function to get them to numbers. Hope this helps, Alex A wise man once said "The only thing normal about database guys is their tables". Upvote 0 Downvote
Code: select ([raised]-[disbursed]) as TOTAL from FUNDING or in query designer: Total: (FUNDING.[raised]-FUNDING.[disbursed]) If your integers are stored as text however, you will need to use the format function to get them to numbers. Hope this helps, Alex A wise man once said "The only thing normal about database guys is their tables".