Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. dlblack

    Formatting a Number field, derived field?

    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
  2. dlblack

    Blue Text folders in Windows

    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
  3. dlblack

    What's wrong with this derived field????

    You might try removing the quotes from '1' or add quotes to 0 for your compare. David L. Black Consulting
  4. dlblack

    Rounding

    Sorry, I should have said a whole number. Try trunc("yourfield"/10000) David L. Black Consulting
  5. dlblack

    Rounding

    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...
  6. dlblack

    Macro Max of another macro column

    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...
  7. dlblack

    Rounding

    You can aways use the old trick of adding .005 to your field and truncating it if you don't come up with a better answer. David L. Black Consulting
  8. dlblack

    SQL-Derived Field for Year, Months, and days of Service

    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') -...
  9. dlblack

    Only thousand place digits wanted

    Have you tried dividing by 1000 into an interger type field? David L. Black Consulting
  10. dlblack

    Use Derived Field to group a range of Comprates together?

    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
  11. dlblack

    Sum Derived Field for Selection criteria

    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
  12. dlblack

    XP SP2 and old Microsoft Software compatiblity

    I installed them on my Toshiba laptop with XP Pro SP1 and upgraded to SP2. Have not had any problems with these apps. David L. Black Consulting
  13. dlblack

    Slow save as csv - need help!

    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...
  14. dlblack

    Slow save as csv - need help!

    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...
  15. dlblack

    Report Scheduler

    I have used scheduler for quite sometime and have not found anyway to save the file other than pdf. David L. Black Consulting
  16. dlblack

    Report launching oddity - any solution?

    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
  17. dlblack

    Report Smith

    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
  18. dlblack

    If..Then with multiple criteria

    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
  19. dlblack

    Why does this macro not work?

    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
  20. dlblack

    Why does this macro not work?

    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...

Part and Inventory Search

Back
Top