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

    COMMAND SQL CURRENTDATE-1 SYNTAX

    Hi Madawc I have found the answer! 'current date - 1 day' does the trick! Thanks for replying to me, much appreciated.
  2. kenyoj

    COMMAND SQL CURRENTDATE-1 SYNTAX

    Sorry Madawc, I have tried this and it doesn't work. I am running the SQL through I-series to be used in a command in Crystal Reports XIr2. This is the error message: Message: [SQL0182] A date, time, or timestamp expression not valid. Cause . . . . . : One of the following has occurred: -- An...
  3. kenyoj

    COMMAND SQL CURRENTDATE-1 SYNTAX

    Hi I have written a command in crystal querying AS/400 (DB2) tables. I need a function similiar to crystals 'currentdate' so I can program the report to pick up records created on the previous day. I have tried currentdate-1, (today()-1),date(-1). Any suggestions would be gratefully recieved...
  4. kenyoj

    LIKE OPERATOR % WILDCARD

    Hi I am altering a SQL command in Crystal XIr2. I have added the following line of code to search for QUEUECD that startswith IOM: OR (("BI0002"."QUEUECD" like 'IOM%' and "BI0002"."SUSPFLAG"='Y') AND ("BI0002"."EVENTCODE"='BIUPDATEW' OR "BI0002"."EVENTCODE"='BISUSPND')) Unfortunately the...

Part and Inventory Search

Back
Top