Results 1 to 6 of 6

Thread: [RESOLVED] A Number or Currency Amount is Required Here

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Posts
    3

    Resolved [RESOLVED] A Number or Currency Amount is Required Here

    I am running Crystal Reports 10.

    My formula is as follows:
    {Subscriptions.PAYMENT_AMOUNT} <> ['0.00', '465.00', '515.00']

    but I am getting the error "A number, or currency amount is required here."

    This is a number field, from what I can tell, but obviously, I'm missing something.

    Thanks for any help.

  2. #2
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: A Number or Currency Amount is Required Here

    Try with :
    Code:
    Not {Subscriptions.PAYMENT_AMOUNT} In [0.00, 465.00, 515.00]
    I suspect that the field is numeric type

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Posts
    3

    Re: A Number or Currency Amount is Required Here

    Thanks for the response.

    When I try this it is telling me that "a boolean is required here" and highlights the field name.

  4. #4
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: A Number or Currency Amount is Required Here

    My mistake!
    Code:
    Not ({Subscriptions.PAYMENT_AMOUNT} In [0.00, 465.00, 515.00] )

  5. #5

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Posts
    3

    Re: A Number or Currency Amount is Required Here

    That's it! Thank you so much for your help.

    Have a great day.

  6. #6
    Addicted Member
    Join Date
    Mar 2010
    Location
    New Zealand
    Posts
    207

    Re: A Number or Currency Amount is Required Here

    Hi Good Guys,
    Using VBNET2008 and Northwind database ORDERS Table.

    I am experiencing similar problem of trying to display total FREIGHTS under the same CUSTOMERID. The Crystal Report GroupHeader Section is based on CUSTOMERID.

    under the GroupFooterSection this formula :
    Sum([DataTable1.Freight}, {DataTable1.CustomerID})


    Generate this Error message while in the processing of creating it:-
    A number field or currency amount field is required here


    In the SQL SERVER 2000, the ORDERS table
    The column FREIGHT datatype is MONEY


    Please help me, I need your help.

    Thanks,

    Cheers,
    Lennie
    Last edited by Lennie; Mar 16th, 2010 at 06:52 AM. Reason: Similar problem not resolved

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