473,378 Members | 1,067 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Labor is non-taxable...

Hello, on my database I cannot figure how to adjust to following expression =nz([Parts Total])+nz([Labor Total])+CLng((nz([Labor Total])+nz([Parts Total]))*nz([SalesTaxRate])*100)/100 to not calculate sales tax on labor. What adjustments should be made?
Thank you
May 16 '06 #1
5 2259
you need to calculate your parts and tax first then add your labor.

Anything in () are performed first.
May 17 '06 #2
could you show me an expression calculating it correctly, it would be greatly appreciated!!!
May 17 '06 #3
how many parts do you have from what I see you have two named nz(parts total) are the one in the same? if so you can write it like this.

=nz(([Parts Total]*nz[SalesTaxRate])*100/100) +nz([Labor Total]+CLng nz[Labor Total]) what this will do is take your parts total and do the sales tax and then add your labor together and then add both pieces together.

I am not all the good with how many () go where and I usually end up putting some in and taking some out to get it to work. IF anyone else see a problem please help..I think for the most part this should work or the theory is there. I love Crystal reports for writing formulas...so much easier.
May 17 '06 #4
That did not work...sorry :( I need the expression to total the Parts Total (if there are parts used)with sales tax and the labor total (with no sales tax, if labor is billed).
Thanks!
May 18 '06 #5
CaptainD
135 100+
Can you give us a little more inormation. What is "nz", where are you using this and what language. (In a query, VB,VBA)
May 18 '06 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Larry Bud | last post by:
Got an item master, think of it like an inventory: description, supplier, cost, unit of measure, etc. There is an item_type field, which, when set to a particular value, REQUIRES that labor be...
5
by: klaus triendl | last post by:
hi, recently i discovered a memory leak in our code; after some investigation i could reduce it to the following problem: return objects of functions are handled as temporary objects, hence...
3
by: Mario | last post by:
Hello, I couldn't find a solution to the following problem (tried google and dejanews), maybe I'm using the wrong keywords? Is there a way to open a file (a linux fifo pipe actually) in...
25
by: Yves Glodt | last post by:
Hello, if I do this: for row in sqlsth: ________pkcolumns.append(row.strip()) ________etc without a prior:
1
by: Dave Elliott | last post by:
I have a form named Add Products where I enter Products with a Category ID, Category Name & Category Description. I want the form to open showing only the records assocated with the Category Labor...
32
by: Adrian Herscu | last post by:
Hi all, In which circumstances it is appropriate to declare methods as non-virtual? Thanx, Adrian.
1
by: mandarkraftware | last post by:
Hi, This is Mandar Purandare , I have two pre-approved labor each in EB2 and EB3 category. Our terms are simple , you need to take care of legal charges and join us , and that's all. ...
399
by: =?UTF-8?B?Ik1hcnRpbiB2LiBMw7Z3aXMi?= | last post by:
PEP 1 specifies that PEP authors need to collect feedback from the community. As the author of PEP 3131, I'd like to encourage comments to the PEP included below, either here (comp.lang.python), or...
0
by: mandarkraftware | last post by:
Hi, This is Sudin, I have pre approved labor available with us. Pl forward your resume in word format to sudin.labor@gmail.com or call me for more details on 402 218 2179 Thanks &...
0
by: mandarkraftware | last post by:
Hi, This is Mandar Purandare , I have two preapproved labor each in EB2 and EB3 category This is an excellent oppurtunity for the candidates those who are not having labor,as my labors are...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.