Results 1 to 2 of 2

Thread: Error in Crystal Reports XI Formula..

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2006
    Posts
    139

    Unhappy Error in Crystal Reports XI Formula..

    Hi

    I am trying to put a formulain CR11 + VB6

    But I am gettin a formula error in the line
    Code:
    if ?stat=0 then
    order_details.order_id = shipping.order_id
    else
    order_details.order_id NOT in {shipping.order_id}

    PART


    Code:
    NOT in {shipping.order_id}
    ERROR :

    The remaining part does not appear to be a part of the formula

    Can anyone help ?? ive just put a logic there.. but need to actually make it work

    thanks

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Dec 2006
    Posts
    139

    Re: Error in Crystal Reports XI Formula..

    OK now trying this

    VB Code:
    1. if {?opt} = 0 then {order_details.order_id} = {shipping.order_id}
    2. else NOT ({order_details.order_id} = {shipping.order_id})

    The THEN part is showing result but the ELSE part is giving 0 result...

    I am basically wanting all those order ID in ELSE part which DO NOT EXIST in shipping.order_id

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