Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clarion > Re: Need the en...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 9036 of 9097
Post > Topic >>

Re: Need the end user to Type in the field name for calculations...but how?

by pblais@[EMAIL PROTECTED] Feb 7, 2008 at 01:06 PM

You could make this a WHOLE lot simpler:

RESULT =  EVALUATE(StringVar & LCND:ConditionType & ConditionValue)
IF ERROCODE()
  ! EVALUATE()  was in error
ELSE
  IF  Result
      !  it's true
   ELSE'
    ! it's false
  END
END

You can eliminate the BIND commands as well. They are redundant and
not required. Anything you know at design time never needs a BIND. You
can pass it as literal. The above expression generates a string. 

---------------------------------------
 Paul Blais -  Hayes, Virginia




 1 Posts in Topic:
Re: Need the end user to Type in the field name for calculations
pblais@[EMAIL PROTECTED]   2008-02-07 13:06:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 21:34:25 CDT 2008.