MySQL Forums
Forum List  »  Microsoft Access

Re: formulas in forms to mysql
Posted by: joe lobocki
Date: June 28, 2006 08:45AM

ok, two questions:

how would i make it decimal in a view? and


CREATE VIEW `book`.`view` AS
SELECT Description, Size, Pack, List, Net, Discount, NetBtl, SRP, Vendor, Date, (SRP*NetBtl) / SRP as GPM FROM products;

is my query, (SRP*NetBtl) / SRP is the formula, but it wont do it in order of operations like it was doing in access, am i missing something?

Options: ReplyQuote


Subject
Views
Written By
Posted
6216
June 07, 2006 10:03AM
2571
June 07, 2006 10:13AM
2052
June 12, 2006 10:30AM
2017
June 12, 2006 01:06PM
2026
June 20, 2006 09:30AM
1894
June 20, 2006 11:42AM
1967
June 22, 2006 07:12AM
2035
June 22, 2006 08:32AM
1892
June 26, 2006 08:46AM
2024
June 26, 2006 10:06AM
Re: formulas in forms to mysql
1987
June 28, 2006 08:45AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.