Gloops said:
Well, you know, I am not trying to guess what you want to do with the sole
clue of knowing how Albert did it.
It works ? That is very fine.
I'm sorry. I was kind of rambling in that last post because I was kinda
exhausted from hours of running into one obstacle after another and was very
frustrated. After having slept, let me give a more clear explanation.
There is a bunch of data in an Access app. The goal here is to give people
the ability to open a browser and report on that data, either for a single
day, or for a date range. Right now the reports we have in Access only
report on a single day. But eventually we want to expand that into date
range reports.
OK, so going to SharePoint, the original idea was to upload the raw data to
the web, and then construct the reports with summation values on the fly
when the user requests it for a particular date or date range.
My first attempt was to build temporary tables for the report, which is how
I have it in client Access. Doing this I ran into numerous limitations when
working with web data macros and queries. Most of them I overcame after a
substantial amount of research and trial and error. The one that I posted
about - being able to put a value from an unbound text box on a form into a
newly-created record, I could not overcome.
So then I realized I could probably rework my queries to not use temporary
tables at all, but just query the data. Even though I find building a report
using temporary tables to be a cleaner and more efficient method than using
complex multi-layered queries, which sometimes bog down, this was doable.
So I switched to doing that, so I wouldn't have to insert any values at all.
However, no sooner had I switched to that approach than I realized that web
queries don't allow totaling! This extremely basic and essential
functionality was something I just assumed would be possible. But, no, not
possible.
So I was left with doing the totals in the form or report footer - which is
fine except that, since I'm using Office 365, and Office 365 does not yet
have Access Reporting, I could not use a report footer for the totals (which
was Albert's solution, that I had previously mentioned); and, when trying to
do totals in the form footer, I was unable to because I need group totals,
not just report totals, and I don't know of a way to do group totals in a
form. (If anyone has any techniques for doing that, I'd be interested in
hearing.)
So what I was left with was not uploading the raw data to SharePoint and
doing calculations on the fly, but, rather, doing each day's calculations in
the Access app, and then just uploading the calculated values for each day
to SharePoint.
That works fine, and allows the user to select any day and get the values.
However, when the report is modified to be for a date range instead for a
single day, I'll be back in the same situation. I'd have to sum up all
totals for the date range, and there's apparently no way to do that in
SharePoint when using forms and needing group totals.
So what I ended up with was not a solution, but, rather, a temporary fix.
Either I find a way to do group totals in SharePoint using forms, or I'll
need to switch from Office 365 to a different SharePoint provider that does
provide reporting, but which is much more expensive.
So that's my still-unresolved situation.
BTW, note to community (or whoever here uses Office 365, anyway): I spoke
with a Microsoft technician at Office 365 yesterday, and asked if they were
going to be getting Access Reporting anytime soon. She said, yes, they would
be getting Access Reporting sometime in the future, but there is no ETA. She
said that if enough people request it, it would probably push them along to
getting it. So I suggest that anyone who is looking for that feature contact
the Office 365 team and request (and keep requesting) Access Reporting
(without being obnoxious about it, of course
).
Neil