Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old February 24th, 2003, 06:49 AM
britpopped britpopped is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 2 britpopped User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
help calculating fields in Access

Hi,

I've just started out on Access.

I'm wanting to take two fields in a table, 'net' and 'tax', convert 'tax' to a percent, add it to 'net' and then place the result in a 'gross' field in the same table... ??

It's seems a simple thing to do, but I can't work out how to do it.

Help appreciated ASAP!!

Thankyou,

DANIEL

Reply With Quote
  #2  
Old February 24th, 2003, 10:47 AM
Joatmon Joatmon is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: U.S.
Posts: 1 Joatmon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to Joatmon
Help Calculating

Do you really need to store the result? It makes more sense to create the calculation on the form or report at runtime.

Reply With Quote
  #3  
Old February 28th, 2003, 01:07 PM
FreddieB FreddieB is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Arlington,Texas
Posts: 14 FreddieB User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
One Way to do it...

Either in a query or the control sourse of a unbouned text box you can use =FormatPercent([tax])+[net] if you just have to have a field in the table you can run a update query to update the data for the gross field then use a bound text field to calculate the in coming new data.
I hope this helps...

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > help calculating fields in Access


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway