CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2009
    Posts
    1

    Exclamation Crystal formula error

    I have this Formula, I am changing the database for the report.

    Old Formula
    {quote.lifecycle_status} in ["LOSTQUOTE", "QUOTE"] and
    {quote.date_effective} = {?Quote Eff Dates}


    New Formula Field is a NVARCHAR
    {quote.lifecycle_status} in ["LOSTQUOTE", "QUOTE"] and
    {quote.date_eff_ccyymm} = {?Quote Eff Dates}

    I am getting String Required here at {?Quote Eff Dates}

    Please help.

  2. #2
    Join Date
    Sep 2009
    Posts
    2

    Re: Crystal formula error

    Try using CSTR function

    {quote.date_eff_ccyymm} = CSTR({?Quote Eff Dates})


    HTH,
    Jyothi

  3. #3
    Join Date
    Aug 1999
    Location
    India, TamilNadu, Chennai.
    Posts
    269

    Re: Crystal formula error

    Hi,


    Use ToText({?Quote Eff Dates}) to convert string datatype in crystal report formula.
    Please avoid sending emails to my personal mail:
    write your doubts as thread in Codeguru
    Crystal Reports Forum
    .

    This will help all people having similar matters, and will let people who know solutions on the specific topic
    share their knowledge.

    Visit my company web site (Qmax Test Equipments Private Limited)

    Yours friendly,
    K.Babu

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured