Hello,
Generally, I'm lucky enough to not need to make many reports... which is a good thing since I am fairly weak at it.
Sadly, I must be improving since more people are asking for stuff.
"Love the report, can you now sort it three more ways?"
Me: OK...
So I copy paste the report three times, change the sorting, and immediately stumbled upon my amateur ways... I use this line in a where clause of a query:
rptTimeSheetReport is the name of my original report, which I am to sort a few more ways.
I was hoping to do something generic using "me!" so that the other report instances look to themselves for the objects, vs reports!report_name!report_object" and describing the item from the top, so to speak. Of course I'd prefer not to maintain as many queries as I have reports.
Like I said I am a report newb...
I thought this would work...
...since the field sCostCenterCodeIDf is on the report uniquely named... I thought the "me!" would tell the report to look inward at itself - its "me-ness" if you will
No dice. I get errors.
Can someone please push me in the right direction?
Thank you!
-Matt G.
Generally, I'm lucky enough to not need to make many reports... which is a good thing since I am fairly weak at it.
Sadly, I must be improving since more people are asking for stuff.
"Love the report, can you now sort it three more ways?"
Me: OK...
So I copy paste the report three times, change the sorting, and immediately stumbled upon my amateur ways... I use this line in a where clause of a query:
Code:
and dbo_SIP_TimesheetEntries_RMBS.sCostCenterCodeIDf = reports!rptTimeSheetReport!sCostCenterCodeIDf
rptTimeSheetReport is the name of my original report, which I am to sort a few more ways.
I was hoping to do something generic using "me!" so that the other report instances look to themselves for the objects, vs reports!report_name!report_object" and describing the item from the top, so to speak. Of course I'd prefer not to maintain as many queries as I have reports.
Like I said I am a report newb...
I thought this would work...
Code:
and dbo_SIP_TimesheetEntries_RMBS.sCostCenterCodeIDf = me!sCostCenterCodeIDf
...since the field sCostCenterCodeIDf is on the report uniquely named... I thought the "me!" would tell the report to look inward at itself - its "me-ness" if you will
No dice. I get errors.
Can someone please push me in the right direction?
Thank you!
-Matt G.