Hi All,
I am maintaining a software written in VFP 5.0a.
Here's some code I wrote for a new function.
sum (ncost - lnFreight) * nshipqty for cclass = "CLASS" to lnBox
lnBoxDisc = lnBox * 0.03
insert into Msambb values ("CLASS", "", "SELECTED CLASS", 0, 0, 3, 0, 0,
lnBox, lnBoxDisc)
Now, after the sum, if I check on the variables, they both have a numeric
value. But the record added in the table displays 0.00 in the 2 last fields.
No errors were raised.
I use SUM in a couple of other places in the same method updating the same
table and it works.
Is this another issue with VFP5 or I am just not seeing the issue?
Thanks,
Jose.
José Olavo Cerávolo
http://www.ceravoloconsulting.com/
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
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/[email protected]
** 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.