A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Calculated field



 
 
Thread Tools Display Modes
  #11  
Old October 27th, 2008, 08:23 PM posted to microsoft.public.access.queries
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Calculated field

On Mon, 27 Oct 2008 10:15:01 -0700, Cesar
wrote:

I'm new using Access, so this may be pretty easy but I can figure outhow to
do it.

I need to calculate a new field (sales commisions) just multiplying the
sales value times the percent of commission, the problem is that the percent
of commision is not a value in a table as the sales value is; this percent of
commission is a changable value and actually I would like to be ask what is
that percent every time I run the query

Thanks


In your Query you can put an expression in [square brackets] to generate a
prompt; i.e. you can have an expression

Comm: [SalesValue] * [Enter commission rate as fraction, e.g. .08 for 8%:]

If you want to enter 8 instead of .08, prompt accordingly and divide the
result by 100.
--

John W. Vinson [MVP]
  #12  
Old October 27th, 2008, 08:40 PM posted to microsoft.public.access.queries
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Calculated field

Try changing it to Sales Times Commission

--
KARL DEWEY
Build a little - Test a little


"Cesar" wrote:

Karl,

The column name is actually the equation, Sales * [% of commission]
--
Cesar


"KARL DEWEY" wrote:

I got a message that says Invalid column name,

I am not familiar with Excel queries. Just what did you use for column name?
--
KARL DEWEY
Build a little - Test a little


 




Thread Tools
Display Modes

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 Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:59 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.