Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / September 2007

Tip: Looking for answers? Try searching our database.

Updating the table with query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Zaheer - 17 Sep 2007 12:24 GMT
hi all!  i made a table 'Routine Scheduling for maintenance', in which i have
following field
1) Routine card no (text)
2) Equipment name (text)
3) Frequency (text -----[days])
4) Start Date (date/time)
5) Completion (date/time)

in this table i insert many records but i left the 'completion date' field
empty. i want to make a query in which 'completion date' update itself just
by checking the frequency and add that frequency into the 'start date' for
each records in the table at one time. e.g . i have different equipments like
valves, motor etc and they have different freqency for maintenance like 1
monthy, 3 monthly and 6 monthly. As soon i run the query it should update the
'Completion date' field just by adding the 'Frequency' into the 'start date'
field. i know this is a little bit confusing and difficult but i am sure you
guys can help me , thanks
-
Zaheer
Acesss Database Designer
Planning Supervisor
Jeff Boyce - 17 Sep 2007 13:04 GMT
Zaheer

If you know that the value of [Completion] is always [Start Date] plus
[Frequency], why bother storing it?  You can create a query that calculates
that value without having to ever store it in the table.

Signature

Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP
http://mvp.support.microsoft.com/

Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/

> hi all!  i made a table 'Routine Scheduling for maintenance', in which i have
> following field
[quoted text clipped - 17 lines]
> Acesss Database Designer
> Planning Supervisor
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.