Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Eng-Tips
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Donate Today!

Do you enjoy these
technical forums?
Donate Today! Click Here

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

HTCivil (Structural)
13 Jan 10 10:24
Say I have two equations.  One equation is used if x > y.  The other is used if x <= y.  If for some situation x > y, I only want the function associated with that condition to show up on my printout.  I know I can simply drag the equation I want onto the printed portion and take out the equation I don't want, but I would prefer to not have to do that, especially since it might not be me who uses the program.  

I'd like to be able to write some kind of conditional statement that will decide which equation to "show" and which to "hide", so the the program will automatically make visible the equation associated with x > y, and make invisible the equation associated with x <= y. It's a matter of having available the equations for all situations, but having the printout show only those equations that are relavent to a specific situation, without requiring the user to have to drag anything around.

I've searched a number of help files and forums but can't find anything that does this.  Any tips would be much appreciated.

-HT
Helpful Member!  IRstuff (Aerospace)
13 Jan 10 11:41
You might try posting this at http://collab.mathsoft.com/~Mathcad2000 but I don't there is any way

TTFN

FAQ731-376: Eng-Tips.com Forum Policies

zdas04 (Mechanical)
13 Jan 10 12:54
I don't know of an elegant way to do it on the fly.  What I do in that situation is display the x and y values and then do an if statement.  Anyone who can read the calculation, can determine which is greater and which equation I used.

David
jghrist (Electrical)
13 Jan 10 15:48
You could put the equations in a collapsed area, then use a text box to show the proper equation.  The text box script could be edited to display text representing the correct equation (it wouldn't actually be the equation but could look like it).
 
Helpful Member!  Mike1984Armstrong (Mechanical)
29 Jan 10 8:45
Something like attached.

The script can be changed to suit.

Regards

Mike

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!

Back To Forum

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close