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

    Page N of M issue and difficult to ask without showing

    The solution which appears to be holding is to formula New Page After setting with 'not onlastrecord' to Group Footer #1. This seemed to work for us. I just don't understand why :)
  2. nicatt

    DATEADD FUNCTION

    Yes, I noticed that checkai and I had posted almost at the same time so that neither of us knew the other was posting. Glad it worked out for you.
  3. nicatt

    DATEADD FUNCTION

    Doesn't this say termdate <= DATEADD(d, 30, GETDATE()) or in other words termdate less than or equal to 30 days from today? So if this is July 20, 2004 you should get everyone with a termdate less than August 19, 2004. Try termdate >= DATEADD(d, -30, GETDATE()) or in other words termdate...
  4. nicatt

    select from stored procedure ?

    Here is my suggestion. Since you want to use the output of the stored procedure you must be on the same platform. Your biggest problem is that the first proc's data is transient and will be deleted after the proc completes its run. To use its data you would have to catch it before the proc...
  5. nicatt

    select from stored procedure ?

    I am curious as to what you would like to accomplish. The stored proc outputs data that you use for something and you would like to use that same output for additional purposes not related to the first output? Your first proc outputs data but you don't use it for anything and you want to write...
  6. nicatt

    Page N of M issue and difficult to ask without showing

    I will check on the service pack. More correctly the version I have is 8.5.0.217 but the company controls updates, etc. I will also experiment with what happens when the page number is in the Header. What mystifies me is why I don't get an extra blank page if the 'not onlastrecord' was the...
  7. nicatt

    Page N of M issue and difficult to ask without showing

    This is a difficult issue to show in words. (Crystal 8.5) A report has three groups with the 'page n of m' on the page footer. Group #1 Footer is set to Free Form Placement, Suppress, New Page After, Reset Page Number After and Keep Together. We are underlaying Group Header #2 to Group...
  8. nicatt

    Test to see if a field is suppressed

    Sometimes one makes things too complicated for their own good. Thank you both for your more reasonable suggestion.
  9. nicatt

    Test to see if a field is suppressed

    forgot to mention I have Crystal 8.5
  10. nicatt

    Test to see if a field is suppressed

    Is there a way to test each line in a detail section to see if one field is suppressed and then count the name. In the below example, I selected the field setting of 'suppress if duplicated' for the name. Can I test if the name text suppression is 1 or 0 for true or false? I can then sum the...
  11. nicatt

    create a unique table column

    I think I found how to do it. Run a loop against the table incrementing a integer in the new column. Then in the stored proc, check the table for the MAX(integer value) in the table's column at the start of the proc. (If there are 113367 records the max value is 113367 the first time). Then...
  12. nicatt

    create a unique table column

    I wish to create a unique column in a sybase table that currently contains 7 million rows. I also want future row inserts to have similar uniqueness when inserted using a cursor in a stored proc. The table will need to have a column added to it. It was suggested that the problem could be...
  13. nicatt

    update statement with aggregates

    I am not an expert but did you try.... Update dbo.TmpMaster30_1 set FirstProm = select (min(h.Prom) from dbo.TmpMaster30_1 t, dbo.FACT_OF_PROM_ARCHIVE h, where t.PersonNo = h.PersonNo)
  14. nicatt

    Single use product purchase viability?

    I am looking at the possibility of purchasing a copy of Crystal reports. My home is about an hour from work and I hate working weekends or late into the night as I am sure many do. An alternative would be to purchase a copy of Crystal and port work back and forth to my home. Living in the...
  15. nicatt

    Fill in line chart with 0 when data missing

    I noted in the original post Database = Access Example data = IF Month (Issued Date}) = 2 Expected output = Then "Feb" and so forth Admittedly I did not note that it is Crystal 9. I have tried the Left outer join to a date table and it throws a DAO error. I will continue to struggle with it...
  16. nicatt

    Fill in line chart with 0 when data missing

    I have a line chart where I have counts for each month. I am pulling records from an Access database. I am figuring the time service from submit to issue date. I get the months as follows: IF Month (Issued Date}) = 2 Then "Feb" and so forth. I break the chart on @Month which I also group...
  17. nicatt

    Interactive sort capability

    I have a business contact who posed the following question. Once the report has drilled down to the last section, which contains the detail, can the records be sorted by clicking the column title? I believe he would like a feature similar to a grid sort option available in Visual Basic, Excel...
  18. nicatt

    Can Sybase directly query Oracle database ?

    To my knowledge not without third party software. We wrote a JAVA program that pulls the data from Oracle and puts it into Sybase and then runs the proc from there.
  19. nicatt

    Error while using bcp

    I would try as follows: ::| database+table in folder\file -c = character data -b1000 = batchsize is 1000 -S = server -U = user -P = password -t = field terminator which is the comma bcp Database+table in c:\sybase\test.txt -c -b1 -STestSErver -Ucartel -Pxhdtls -t ,

Part and Inventory Search

Back
Top