Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parameter
#1
Not Solved
Search doesn't seem to be working so forgive me if there is this topic already. I have done google searches and found nothing.

I have a data sheet with four columns:


LOW HIGH STREET MESSAGE

100 200 Any Street Request added for 100-200 Any Street
400 700 Washington Request added for 400-700 Washington
600 300 Elm Error LOW must be lower than HIGH


MESSAGE is entered manually. What I would like to do it have MESSAGE
be dependent on the others like this:

Request added for $LOW-$HIGH
so if LOW and HIGH change I don't have to update message. I still have to type the error case. What would really be nice is something like

if LOW < HIGH
then
Request added for $LOW-$HIGH
else
Error LOW must be lower than HIGH
end

but that won't really work so well because I will have other errors like LOW is blank or HIGH is blank. But if I could at least make MESSAGE dependent on the LOW and HIGH I could copy it and the few places where there are exceptions I could just overwrite it. How can I do this?

Thanks

Sorry, the columns did not line up so well ;-) Let me try with underscores to preserve spaces


LOW____HIGH____STREET___________MESSAGE

100_____200_____Any Street________Request added for 100-200 Any Street
400_____700_____Washington_______Request added for 400-700 Washington
600_____300_____Elm Street________Error LOW must be lower than HIGH
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Action Parameter passing problem Qtpuser1 1 2,709 04-18-2014, 06:23 AM
Last Post: kgovadav
  Parameter iteration bistritapcv 1 3,214 03-28-2013, 10:40 AM
Last Post: Sathiya
Question Add parameter to Data table during run time switoo 1 2,840 12-06-2012, 02:37 AM
Last Post: frebuffi
  Parameter values VS Environmental Variables Brian.Osborne 1 2,249 10-11-2012, 01:47 PM
Last Post: harishshenoy
  Passing array of classes to parameter of action nvKy 1 3,879 06-20-2012, 10:38 AM
Last Post: sshukla12

Forum Jump:


Users browsing this thread: 1 Guest(s)