Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Databases (https://www.askmehelpdesk.com/forumdisplay.php?f=444)
-   -   Setting a flag in Crystal Reports 8.5 (https://www.askmehelpdesk.com/showthread.php?t=6148)

  • Nov 4, 2004, 01:26 PM
    bhurst
    Setting a flag in Crystal Reports 8.5
    I am trying to come up with some type of logic to set a falg on a condition and then print a comment depending on the flag. I need to set the flag to "No" at the beginning, check to see if my order is a backorder, set the flag to "Yes", check flag and print comment if "Yes", then be able to reset the flag on a new order.

    Is there a way to do this?
  • Nov 20, 2004, 10:02 AM
    joseffb
    :cool: Yes.

    Try something like this.


    booleanvar bFlag:=false;


    if myorder = backorder then bFlag:=true;

    if bFlag=true then "My Order is on Backorder -- Darnit!";


    :cool:

    joseffconsulting.com

  • All times are GMT -7. The time now is 07:23 PM.