473,465 Members | 4,823 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How can I calculate the percentage of a field in Access 2007?

3 New Member
Dear Sir/Madam,

I have table called PROUCTD and it have the following attributes that i want to calculate:

a) CIF_Value = $6000
b) Payment Rate = 0.03% of the CIF_Value
c) Total Cost = Anstwer

Thank in advance

Alex
Oct 21 '09 #1

✓ answered by NeoPa

@NeoPa
Your query will have SQL very similar to :
Expand|Select|Wrap|Line Numbers
  1. UPDATE [Product]
  2. SET    [Total Cost]=[CIF_Value]*[Parment Rate]

6 9048
NeoPa
32,556 Recognized Expert Moderator MVP
Lexso, you don't have a question. This is nothing we can help with I'm afraid.

What I can do is suggest that you check your table name.

Are you wanting to produce these figures in a query, or do you actually have a table set up as you say and you want to update it? See Normalisation and Table structures for why the latter is such a bad idea.
Oct 21 '09 #2
Lexzo
3 New Member
Dear Sir/Madam,

Thanks for your reply. My question is how can i calculate three fields in table in Access 2007

eg.

The three fields are Product, CIF_Value (the CIF_Value is 0,03%) and Total Cost.

Inview of the above, I want to muiltiply the product field ($600) and the CIF_Value field (0.03% which is a fixed rate) and the answer put into the Toatl cost.

Thanks

Alex
Oct 22 '09 #3
NeoPa
32,556 Recognized Expert Moderator MVP
That is no clearer.

You will not understand if you ignore what I say. Please reread my first post (#2) and try to produce something that we can respond to.
Oct 23 '09 #4
Lexzo
3 New Member
Thanks,

The table in question is the Product table.

I have two fields in above product table called CIF_Value and Payment rate. I want access 2007 to automaticall calculate the two fields and produce the answer in another field called total cost on the same product table. Note the payment Rate field if fixed (0.03%) but the CIF_Value can contain any number.

I hope my question is understood now.

thanks

Alex
Oct 24 '09 #5
NeoPa
32,556 Recognized Expert Moderator MVP
@Lexzo
Yes. Your question makes sense now.

However, before I go and knock something up to illustrate how this can be done, I must warn you that this is strongly recommended against! This is absolutely not a good way to use Access or any database. It will cause you problems in the future! See the article linked in post #2 for the explanation why this is so.

As I said, I will give you the information you request now that I have made it clear that I think it's a very bad idea.
Oct 25 '09 #6
NeoPa
32,556 Recognized Expert Moderator MVP
@NeoPa
Your query will have SQL very similar to :
Expand|Select|Wrap|Line Numbers
  1. UPDATE [Product]
  2. SET    [Total Cost]=[CIF_Value]*[Parment Rate]
Oct 25 '09 #7

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

Similar topics

53
by: Cardman | last post by:
Greetings, I am trying to solve a problem that has been inflicting my self created Order Forms for a long time, where the problem is that as I cannot reproduce this error myself, then it is...
1
by: Don Leverton | last post by:
Hi Folks, I *can* calculate the Gross Profit Percentage where both the Cost and SellPrice are known, using the formula: (SellPrice - Cost) / SellPrice = GPP eg ($24.92 - $14.95) / $24.92 =...
8
by: helpless | last post by:
Access 2003 - I am trying to calculate the difference between a specific date 5/1/2007 (not in a data field) and other dates that ARE in a field called Birth Date. I am trying to have it fill into...
9
by: AZKing | last post by:
Hi all, I would like to know how do you go about calculating percentages in Access. For example, in a form I have 3 combo boxes with drop down menus where a user can select "Yes" or "No" and a...
7
by: ngweixiong | last post by:
Hi, I have a Ms Access query which i used to calculate how many times the leadtime is a) less than 7 days b) 7-14 days c) more than 14 days With the query results, i will like to convert...
4
by: Micheal | last post by:
Greetings Access Group, Being relatively new to Access, I try to work through problems on my own and have been very successful, although I have a conundrum that I have been working on for two days...
1
by: shalit.dror | last post by:
I have an XML files that contains grades in different subjects from year 2005  2007 . In the HTML file I have several drop down list that contain all the names of the subjects. If I select for...
0
by: SuzK | last post by:
I am trying to calculate in VBA in Access 2002 a moving average and update a table with the calculations. Fields in my WeeklyData table are Week Ending (date) ItemNbr (double) Sales Dollars...
6
by: plaguna | last post by:
I’m creating a Microsoft Access Report of 6 different questions with “Yes” and “No” answers. I have no problem to count the Yes and Nos with the following formulas for each question in the Report...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.