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 » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

arithmetic operator won't work



 
 
Thread Tools Display Modes
  #1  
Old April 27th, 2004, 03:46 PM
Benny
external usenet poster
 
Posts: n/a
Default arithmetic operator won't work

try using two minus. example= [table1]--[table2]

remember two negatives = a positive.
  #2  
Old April 27th, 2004, 04:45 PM
Cheryl Fischer
external usenet poster
 
Posts: n/a
Default arithmetic operator won't work

Using two minus symbols will work just fine in a Query as a calculated field
or in the Control Source property of a control on a form; however,
(presuming that you did not really name your fields table1 and table2), you
need to provide field names not table names:

In a query:
TotalAmount: [table1].[SomeField]--[table2].[SomeOtherField]




--

Cheryl Fischer, MVP Microsoft Access
Law/Sys Associates, Houston, TX


"Benny" wrote in message
news
try using two minus. example= [table1]--[table2]

remember two negatives = a positive.


 




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:48 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.