Ask Experts Questions for FREE Help!
 

Free Answers in 3 Easy Steps

Register Now
3 Steps
 


Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.
  View Answers    Answer this question    Ask a question  
 

bhurst
Nov 4, 2004, 12:26 PM
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?

joseffb
Nov 20, 2004, 09:02 AM
: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