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

    If..Then..else.. error

    Can someone tell me why is this not working? WhilePrintingRecords; numberVar numNB; numberVar numRPC; numberVar numMC; numberVar numMRPC; numberVar numDPP; numberVar numNB2; numberVar numRPC2; numberVar numMC2; numberVar numMRPC2; numberVar numDPP2; if {tran_date} in Aged31To60Days then...
  2. vbjohn

    Parameter Fields - CR.9

    I have this parameter and in its options I have the "Allow multiple values" check and then "Discrete values(s)" checked as well. When I go into the "Select Expert" and put the parameter into the expert I get this message.... "This array must be subscripted. For example: Array [i]". Any Ideas...
  3. vbjohn

    Char() in the SQL error.

    bborissov... Your suggestion worked. Thanks alot everyone for your help.
  4. vbjohn

    Char() in the SQL error.

    YEs... Char(44) is a , and Char(39) is what I need.
  5. vbjohn

    Char() in the SQL error.

    Either way I tried them both... Char(39) or Char(44). Both gave me the same error.
  6. vbjohn

    Char() in the SQL error.

    It is an ASCII character. Char(44) = '
  7. vbjohn

    Char() in the SQL error.

    This one does not work.... SET @NewPODB_NAME = 'IF EXISTS (SELECT * FROM PO0007 WHERE CODPROD = char(44) AC700MC0 char(44)) BEGIN SET @Check = 1 END' It tells me: Server: Msg 170, Level 15, State 1, Line 1 Line 1: Incorrect syntax near 'AC700MC0' When I take out the Where clause it works...
  8. vbjohn

    Exists Statement Error

    Can anyone help me figure this out? Why can I not use this variable. I get this error for the second one I try: Server: Msg 170, Level 15, State 1, Line 31 Line 31: Incorrect syntax near '@NewICDB_NAME'. DECLARE @curName VARCHAR(200) DECLARE @NewICDB_NAME VARCHAR(200) SET @curName =...
  9. vbjohn

    Exists Statement Error

    Can anyone help me figure this out? Why can I not use this variable. I get this error for the second one I try: Server: Msg 170, Level 15, State 1, Line 31 Line 31: Incorrect syntax near '@NewICDB_NAME'. DECLARE @curName VARCHAR(200) DECLARE @NewICDB_NAME VARCHAR(200) SET @curName = "Master"...
  10. vbjohn

    Month/Year

    Great! Why didn't I think of that.
  11. vbjohn

    Month/Year

    I am putting a formula in Crystal that will give me the Month and Year only in this format... 06/05. How could I do this? ToText(Month ({Emp.DateStarted})) +"/"+ ToText(Year({Emp.DateStarted})) and I get this... 6.00/2,005.00 What should the formula be?
  12. vbjohn

    Formula ... Year?

    Awesome! Thanks.
  13. vbjohn

    Formula ... Year?

    When I run the Syntax check it gives me a message saying "a Text is required here" and it highlights the whole Year function... MonthName(Month ({SlsInquiry.DateSales}), True) + ". " + Year({SlsInquiry.DateSales})
  14. vbjohn

    Drill Down - Group Change?

    Ooops... Crystal Reports 10 VB.6
  15. vbjohn

    Drill Down - Group Change?

    Is there a way that you can change the header on the drill down on the left hand side? For Ex: --USA --Canada --Germany --UK change to... --USA --Canada --Germany --England
  16. vbjohn

    Strange Problem on CR 8.5

    Why does everyone think that I am having some sort of DLL problem. It could not be a DLL problem. I created a FORMULA called "ERRMSG" 'Error message' I put code in the surpress area to surpress the label unless the criteria does not match. On everyones computer it is surpressed...
  17. vbjohn

    Strange Problem on CR 8.5

    How do you work this? John-
  18. vbjohn

    Strange Problem on CR 8.5

    I do not understand? ======================================================= In the Edit Field object... 'Tax Sheltered Amount Error' In the format editor. This is in the Suppress area... IF ISNULL(Sum ({@SubjectToMCAR}, {W2Summary;1.EMPLOYID})) = TRUE THEN...
  19. vbjohn

    Strange Problem on CR 8.5

    One other problem is that she would not let me touch her computer so I can do other further diagnostics on this problem. John-

Part and Inventory Search

Back
Top