sends a true in the column called payday or a false depending on whether it
is larger or smaller
then the xml code parses the cursor and in the html code for google maps,
it takes the true or false and turns on a red or blue.

All of that works, what doesn't work reliably (sometimes it does, and
sometimes it doesnt) is this part in vfp type code

m.govamtpaid = 85320
m.amtpaid = pw_1

if m.amtpaid > m.govamtpaid
   flag = .T.
else
   flag = .F.
endif

supposedly that can all be done in the mysql select statement like I'm
doing, and it appears to work, just not reliably which is puzzling to put
it nicely.



On Sun, Feb 8, 2015 at 11:16 PM, AndyHC <[email protected]> wrote:

> Iif(CAST(pw_1...   ??
>
>
> On 09/02/2015 02:42, Virgil Bierschwale wrote:
>
>> $query = "SELECT *, if(CAST(pw_1 as DECIMAL)  > 85320, 'TRUE', 'FALSE') as
>> PAYDAY FROM lca2015 WHERE left(LCA_CASE_8,7) = '15-1121'";
>>
>>
>>
> <snip>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAPuy6VOJf1=rvtfmcrf+h4f3mdpbbautkbfegrcnkey5tuf...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to