You might try a combination of dividing by 100 and left pad (lpad) with zeroes to the final length desired. Something like lpad(yourfield/100,12,0)
David L. Black Consulting
erikhertzel is correct. If your pc has been running ok you can sort these by date and delete the ones that are a couple of months old if you want to get back the space. Just make sure that they are all the uninstalls. This has worked for me.
David L. Black Consulting
The way I would do this is as follows:
1. Add 999 to your original field.
2. Truncate to a derived 2 digit integer field.
3. Multiply by 1000 with result in an appropriate size derived field to accomodate your largest possible answer.
This may not be the best way but it should work for you...
I would try modifying the sum macro to include an "IF condition THEN action [ELSE Alternative_Action]", so that when you are stepping through the records if the value of the next macro derived field is greater than the current value, set the new derived field to the greater value.
Just a...
There is a sample of this type of report in ADP's samples called annivers.rpt. You should be able to use a derived field for length of service like the following: (displays a field of years and months from the system date)
TRUNC(((TO_CHAR(SYSDATE,'YYYY') -...
I believe you can accomplish this with a string of multiple decodes. Assign a value for each of the 7 groups to group by.
DECODE(Greatest(x,y),x,1,y,2)
David L. Black Consulting
You may need to try using a macro to create the field you need. Try this site for support.
http://www.srs-inc.com/support/HowDoI/start.htm
David L. Black Consulting
Yes, I meant the group by, try to reduce the number of records that RS has to process.
Your ADP RS support group should be able to provide you with a sample macro that will produce a fixed length flat file.
I also recall an issue with the max. number of rows that EXCEL can handle. This is a...
Are you running this as a stand-alone or is the database on a separate server?
You might look at the option settings, under tools on the RS screen and tweak the buffers and/or process on the server if possible.
Look at the how the report is structured and use the group by sorting on the...
What version and database are you using?
Do you use the catalog?
Have you checked with SRS to see if there are any know issues with XP?
I would take a hard look at the .ini file for starters.
David L. Black Consulting
As a personal preference and past experience with PeopleSoft, I would go with Crystal.
ReportSmith is quite capable of handle most needs, but Crystal seems to be more flexible in report formatting.
My 2 cents.
David L. Black Consulting
You might want to download the Macro reference guide from srs and look at the If...Else possibilities.
http://www.srs-inc.com/Downloads/Doc4x/UsersGuide/ugc11.pdf
David L. Black Consulting
This worked for me on our database.
Sub test()
If Field$("NAME") = "Black, David L." Then
D = "OH Mgmt"
End If
DERIVEDFIELD D
End Sub
Check the exact contents of Name field, ie comma, spaces, and period. In this example it has to be exact to what your comparing.
David L. Black Consulting
ReportSmith v4.2.2 Oracle database
I use a string of these type of if statments which work for me.
The only difference I see is the $ after Field. Quoting the Macro reference manual "Field$ retrieves the value of the specified field for the record number to which the dataset of the currently...
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.