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 / Modules / DAO / VBA / October 2007

Tip: Looking for answers? Try searching our database.

pulling from tables

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Calvin - 17 Oct 2007 17:22 GMT
I want to calculate a field, from two different tables. It will auto
calculate a date based on a past date (from a log table). How can I write a
formula using a controlsource.

For instance I want to take the most recent date from the datelog and add to
it using an interval(the interval is in another table) to calculate my field
into a different table. What would be the formula ?

I know if I was workign within the same table this wouldn't be a problem but
how to I pull information from certain fields do I use an
![tblLog]![Fieldhere]? or do I use quotations?

thank u
pietlinden@hotmail.com - 17 Oct 2007 20:57 GMT
> I want to calculate a field, from two different tables. It will auto
> calculate a date based on a past date (from a log table). How can I write a
[quoted text clipped - 9 lines]
>
> thank u

use a totals query, return the Max of your date, then create another
query based on that and do your date math with DateAdd.
 
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



©2008 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.