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

    How do I check for returned error codes from SQL Server

    We've implemented the use of the query governor on our SQL 2000 database for our Crystal report queries. The problem I'm having is trapping the returned error code, before crystal displays an unfriendly .dll error message. When I run a report in designer which is killed by the governor, I get a...
  2. rscero

    "Communication with client fails" error

    Does anyone know of a way to "schedule" an un-managed report? Most of our reports are not run from within CE but via a URL command. Several of them have queries that will take longer than 1 minute to run as users can be pulling data across multiple years. We've been expirencing this...
  3. rscero

    Conditional Formatting

    In the format font section for the fields you want highlighted red, add code similar to the following: if IsNull(Who_Acknowl) then Color (255,0,0) else Color (0,0,0) You may also need to check for Who_Acknowl = ''.
  4. rscero

    MAX date still not pulling what I want - NAITH and RSCERO help!

    Are you trying to get the earliest or the most recent date? Your statement "where their max effective dates are earlier" indicates you want the earliest date, not the most recent. If that's the case, you need to look for the minimum date, not the maximum. Same code, just change the...
  5. rscero

    Accessing SQL Database w/Stored Procedure and Parameters

    skulman is right on track here. What you need to determine is where is the report being executed from, your workstation or a server. If the execution happens on a server, then the SQLSVR.err file will be on that box. This may be why your not seeing it on your workstation. Once you locate the...
  6. rscero

    MAX date in subselect, can't use group select

    One thing I forgot to mention, if the table contains records with identical effective dates (no time stamps) and the Like clause is going to return more than one value, this code will not work. The sub-select has to return a single value from the table.
  7. rscero

    MAX date in subselect, can't use group select

    If I'm reading your question correctly, I believe the code below should work... SELECT PS_ADDRESSES."EMPLID", PS_ADDRESSES."EFFDT" FROM "SYSADM"."PS_ADDRESSES" PS_ADDRESSES WHERE PS_ADDRESSES."EMPLID" LIKE '______002' AND...

Part and Inventory Search

Back
Top