Are you physically dragging the data when you are looking at the report, or are you dragging the detail section in the list? I'm talking about the list of the sections where you link the Detail Reports to the Master.....make sense? You may also have to look at the page breaks for the different...
The following global macro should, in theory, open and print 2 reports in succession. For some reason, ReportSmith prints the first one twice...as if it doesn't clear it from memory. Any ideas?
Sub WEEKLY()
Dim DB as DataSet
DB.Connect 7,"mnwo","USER10","passwd","mnwo"
LoadReport...
Here's the solution:
Add the JOB table, but set the Effective Date Logic of the Report to "As of current date". Then go into Selection Criteria and delete the line that sets the EFFDT of the JOB table to be the current date. This is a good way to show history from a table without setting the...
This derived field will rank the rows...then you select which ones you want. I'm assuming that you've added the JOB table to the report and given it an alias of 'J1'
(SELECT COUNT(*) FROM DEMOV4.dbo.PS_JOB J2
WHERE J1.EMPLID = J2.EMPLID
AND (J1.EFFDT < J2.EFFDT OR...
Change the derived field to read something like this: When the sum is not equal to zero, show the sum. When the sum does not exist, show a zero.
CASE
WHEN
(
SELECT SUM(DED.AL_AMOUNT)
FROM DEMOV3.dbo.PS_AL_CHK_DED DED
WHERE DED.FILE_NBR=CHK_DATA.FILE_NBR
AND DED.PAYGROUP=CHK_DATA.PAYGROUP
AND...
OK...adding tables from multiple data sources can be tricky, and perhaps not solvable in an online forum.
There is, however, a fairly straightforward solution to using values in a text file as selection criteria. We're going to create a Macro that reads a text file, and then passes the text...
DED is the alias (or nickname) that you're assigning to PS_AL_CHK_DED. Since we're referencing the table, and not physically adding it to the ReportSmith report, we're just assigning the alias in the derived field. The alias is only local, however.
While I know nothing of Maximizer, I can tell you that ultimately what matters is the SQL that is generated by ReportSmith. You need to determine whether the data fed to Maximizer is making it the final SQL statement. That might help your analysis of the issue.
Meanwhile,
Using ReportSmith's...
OK....I worked out a pretty neat solution to your report.
1. Add PS_AL_CHK_DATA (alias of CHK_DATA) to the report. Include PAYGROUP, FILE_NBR, CHECK_DT.
2. Select a specific CHECK_DT in Selection Criteria by hard coding a date, using a report variable, or you can even use the following...
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.