Why doesn't this work?

Bill Vlahos bvlahos at mac.com
Fri May 19 14:20:52 EDT 2017


I’m concatenating one field & a passed phone number & another field.

The variable vNum works in the first if statement but is blank in the second. Why?

Thank you,
Bill Vlahos


on searchNow vNum
   if the hilite of button "Enable1" then
      put field "f1a" & vNum & field "f1b" into vQuery
      revGoURL vQuery
   end if
   if the hilite of button "Enable2" then
      put field "f2a" & vNum & field "f2b" into vQuery
      revGoURL vQuery
   end if
end searchNow


More information about the use-livecode mailing list