Ask Experts Questions for FREE Help!
  Advanced
Register  |  Log in  
   Ask    
 Answer  
  Help  

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Programming > Databases > Access   »   Access Queries

 
Question Tools Search this Question Display Modes
Question
 
 
#1  
Old Feb 22, 2007, 04:44 AM
Yamie
New Member
Yamie is offline
 
Join Date: Feb 2007
Posts: 1
Yamie See this member's comment history on his/her Profile page.
Access Queries

Am new and very happy to be in this forum.

I have an access database which comprises of many tables. My problem is I am tryng to develop a query possibly in design view which needs to use this condition

if storagedays>7 then storagedays=storagedays-7. unfortunately I havent done it before..am used to simple conditions

Ur help will be of influential importance

CLARIFICATION

Thanks here is my clarification.

The query has a number of field which will be retrieving data according to other defined conditions but with the conditions, it has to check a calculated field value [storagedays] which has to at the same check if the calculated field value is > 7 if so then deduct 7 from the storagedays .

Please if still unclear give your email address so that I can send you the screen shots

Reply With Quote
 
     

Answers
 
 
Old Feb 22, 2007, 04:51 AM   #2  
ScottGem
Computer Expert
ScottGem is offline
 
ScottGem's Avatar
 
Join Date: Jan 2003
Location: LI, NY - USA
Posts: 22,612
ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.
Pay to call ScottGem for advice ($.75/min)
Call ScottGem via Skype™
First, Welcome

I'm not clear what you need to do here. Are you trying to update a value in a table, display a calculation or what?

If you are trying to display a calc then add a column with the expression:

AdjStorageDays: IIF([Storagedays]>7,[Storagedays]-7,[Storagedays])

If you are looking to update the Storage days value, then create an Update Query in Design mode. In the Update To row enter:

[Storagedays]-7

In the Criteria Row enter:

>7
  Reply With Quote
 
     


Question Tools Search this Question
Search this Question:

Advanced Search
Display Modes

 
Similar Sponsors

Similar Questions
Question Asker Topic Answers Last Post
Cat & Kitten queries jat_terbox1 Cats 1 Jan 1, 2007 08:03 AM
Access 2003 queries Janelle Other Software 0 Nov 29, 2006 11:06 AM
Economics queries tang Economics 2 Jan 27, 2006 09:49 AM
Cant access pop3, Pop3 access not working from my computer saddal Internet & the Web 1 Aug 28, 2005 05:15 AM




Copyright ©2003 - 2007, Ask Me Help Desk.
All times are GMT -8. The time now is 07:00 PM.

Content Relevant URLs by vBSEO 3.0.0 RC6 © 2006, Crawlability, Inc.