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 / May 2005

Tip: Looking for answers? Try searching our database.

Update a field based on the status of other fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lauren - 09 May 2005 14:30 GMT
I have a database based on Settlement numbers.  I have a subform that has
multiple records that correspnd to the settlement number.  Each one has its
own 'status' and when I update the status of all the records to 'closed', i
would like it to show the entire file as closed.  Any ideas?

Thanks,
Lauren
David Lloyd - 09 May 2005 16:39 GMT
Lauren:

I would suggest a query that looks for a particular settlement number and
asks for all records where the status is NOT closed.

If the recordset returns zero records, you can then implement whatever
functionality to want to show that the file is closed.  For example, you
could add a new field (IsClosed) for the Settlement numbers table to mark a
file as closed (set the value equal to true).

Or you could set this same field at the time you mark all subform records as
"closed."

It is hard to give more details without more information about your form and
subform and how they operate.

Signature

David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.

I have a database based on Settlement numbers.  I have a subform that has
multiple records that correspnd to the settlement number.  Each one has its
own 'status' and when I update the status of all the records to 'closed', i
would like it to show the entire file as closed.  Any ideas?

Thanks,
Lauren
 
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.