Why doesn't this work?

JB sundown at pacifier.com
Fri May 19 14:40:30 EDT 2017


It could be one of the fields has a space
at the end and the other does not.

JB


> On May 19, 2017, at 11:20 AM, Bill Vlahos via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 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
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list