ms access 2007 sql (compute by or rollup function)

learning_grexcel

Active Member
Joined
Jan 29, 2011
Messages
319
Hi
I want to use roll up or compute by function in Access 2007 using SQL view but it shows the error "undefined' function. How to sort this out?
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
I have never heard of such functions, and they do not appear in the Access list of functions.

Where did you get those function names from?
What exactly are you trying to do?
 
Upvote 0
Those are not native Access functions. They might be part of an Add-In, or they may be User Defined Functions (UDFs). So you are not going to be able to use them without finding the associated Add-In or VBA/SQL code. So you may want to go back to where you found that, and see where it mentions you can acquire that Add-In or code required to use those.

By the way, have you looked at Aggregate (Totals) Queries in Access? You can create sub-totals using those. Check out Access's built-in help files to see how you can do that.
 
Upvote 0
Thank you.
I have a data similar to the top of the image below and looking for output similar to the bottom of the image below.


sql_query.jpg
 
Upvote 0
Are you trying to do this in Queries, Forms, or Reports (where do you want your output to go)?
 
Upvote 0
No, what I am asking is your desired output.
Do you want that desired output in a Query, Form, or Report (three distinctly different Access object)? It probably depends on what you plan to do with desired output.
 
Upvote 0
I don't know how it will come output in query, form or report as I'm new to access. But I want to export those output in excel using sql query.
I used to do these small stuffs in excel but now it's more than 65536 rows so I have to do in access. I will be glad if you help me to get those outputs in any easy form.
 
Upvote 0
I am guessing that you used to do these as Pivot Tables or Subtotals in Excel.

If you want to export to Excel, you are probably going to want this in a query in Access, as those are easier to export to Excel.

I have never really used Pivot Tables in Access, but I know it is possible. Here are a few links that show you how you can do that. One is a YouTube video.

http://office.microsofhttp://office.microsoft.com/en-us/access-help/designing-your-first-pivottable-pivotchart-views-in-access-HA001034580.aspx
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
http://www.youtube.com/watch?v=xr6IoPMYmU0
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,813
Members
452,945
Latest member
Bib195

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top