Why doesn't this work?
Bill Vlahos
bvlahos at mac.com
Fri May 19 15:00:06 EDT 2017
JB,
It is the vNum variable itself that is empty in the if statement. If I put vNum the result is blank.
Thanks,
Bill
> On May 19, 2017, at 11:40 AM, JB via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> 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
>
>
> _______________________________________________
> 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