PC Review


Reply
Thread Tools Rate Thread

Can't Figure Out How To Do This Calculation - PLEASE HELP!!

 
 
=?Utf-8?B?QmFyZHNTd2VldGll?=
Guest
Posts: n/a
 
      25th Jan 2006
Hi all,

I've got Calculation #1 down...no problems there.

I need to base another calculation (#2) on Calculation #1.

Calculation #1 - PricePerUoM/QtyReceived (works like it's supposed to
Ex. - $10.75 divided by 6. Answer is $1.79.

(Price actually paid is $10.75 but if you multiply $1.79 by 6 it comes out
to $10.74.)

Calculation #2 - Needs to be the difference between the $10.75 and the
$10.74 (Adjustment).

Would I have to have another column to multiply $1.79 by 6, then use the
Adjustment column for the difference between the $10.75 and the $10.74?

Is there that would work without having to redo the table and form?

Thanks very much for your help.

Kathleen
 
Reply With Quote
 
 
 
 
Pat Hartman\(MVP\)
Guest
Posts: n/a
 
      25th Jan 2006
You can refer to another control name in a calculation:

txtCalc1 - txtCalc2

I strongly recommend that you use meaningful names for your controls. There
is no need for you or anyone else to suffer with code that looks like:
If Text45 <> Text 82 AND Text101 = Text14 Then
Text8 = "completed"
Else
Text8 = "I can't stand this any more"
End If

If you already have code behind poorly named controls, you'll need to move
it if you rename the controls. Access "looses" is when the controls are
renamed.
"BardsSweetie" <(E-Mail Removed)> wrote in message
news:5CE6AC9D-9478-40AD-A137-(E-Mail Removed)...
> Hi all,
>
> I've got Calculation #1 down...no problems there.
>
> I need to base another calculation (#2) on Calculation #1.
>
> Calculation #1 - PricePerUoM/QtyReceived (works like it's supposed to
> Ex. - $10.75 divided by 6. Answer is $1.79.
>
> (Price actually paid is $10.75 but if you multiply $1.79 by 6 it comes out
> to $10.74.)
>
> Calculation #2 - Needs to be the difference between the $10.75 and the
> $10.74 (Adjustment).
>
> Would I have to have another column to multiply $1.79 by 6, then use the
> Adjustment column for the difference between the $10.75 and the $10.74?
>
> Is there that would work without having to redo the table and form?
>
> Thanks very much for your help.
>
> Kathleen



 
Reply With Quote
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New at Formulas - Can I save a figure for future calculation fatal.lordes@gmail.com Microsoft Excel Discussion 1 15th May 2008 06:07 PM
Word 2007 - cross reference to figure reproduces figure plus capti =?Utf-8?B?Qm9yaXM=?= Microsoft Word Document Management 2 7th Sep 2007 09:48 AM
I am doing a calculation in excel, I am multiplying a figure by a =?Utf-8?B?RnJlZGRv?= Microsoft Excel Worksheet Functions 2 26th Apr 2006 03:05 PM
how do I link the text about figure number to the figure caption? =?Utf-8?B?Y3J5c3RhbHhk?= Microsoft Word Document Management 1 3rd Apr 2006 06:58 PM
Reguire figure from main for in calculation of subform. =?Utf-8?B?UkJpZ2Vsb3c=?= Microsoft Access Forms 0 9th Jan 2006 10:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:28 AM.