I've run across an interesting bug in Access and/or SQL Server.
My set up:
Access 2007
SQL Server 2008
Here is a way to see what I'm talking about.
In Access create a pass through query.
Use any legit DSN.
For the source use Select 1
don't save yet though.
open profiler and set it to look at...
I'm looking for a way to easily tell yesterdays date in a business week. I can get Tue through Friday easily enough but I can seem to get Mondays yesterday (Friday).
Thanks in advance for any assistance.
used both CDate({RPT_CBC_BILLING.PICKUP_BY}) and
Cdate(Left({RPT_CBC_BILLING.PICKUP_BY}, 10)).
Neither worked. Still the sum could not be created error.
Using CR8.5, DB2 v7
I am writing reports against a series of table where the dates are defined as DateTime. Here is a sample of the fields data: 2004-11-07-21.00.01.000000
I create a parameter and set it's data type to be date, range values.
In the report record selection criteria I enter...
Group headers 1, 2, 3A are all suppressed.
Clicked the underlay check box for GH#2 and GH#3A - no effect.
Clicked for GH#1, GH#2 and GH#3A - still no effect.
Tried checking the Underlay Following Section checkbox on the
Report Header
Page Header
GH#1
GH#2
GH#3 A
GH#3 B
individually and all together.
Still not working, or else not working as I'd like.
Is there any way I can tell if it is working?
What I'd like to happen is the GH#3 B space be...
I moved the subreport to the GH#3. after creating a A and B sections. A is suppressed and B is not but it needs to be.
Same problem as before. Compressed the subreports as small as possible but unable to hide completely. Did the Underlay thing and it didn't work either.
In the section expert I clicked the Details B section and then clicked the Underlay Following Sections checkbox. I did not add any code. Is this correct? if so it appeared to have no effect.
Working on the other changes recommended.
Using your idea in the sub reports worked like a charm. All sections suppressed, formula in the report header. The formula could probably go anywhere though I'd imagine.
On the main form I left the sub report in the detail B line but moved all the fields to the C line. Unsuppressed the C line...
What I'd really like to do is be able to suppress the details line. But I don't seem to be able to do that and still recieve the calculations from the sub report.
I'll experiment with the next sub report on your ideas Gary. Looks like they should work. Added the group to help me figure out what...
Added your changes above. However the GF#3 is still not reseting. It goes from 395 to 499, adding the 104 from the next group.
There are now 3 detail lines, after the first round of changes.
A is supressed and contains the formula:
//Resets the OtherChargesTotal variable which is populated via...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.