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 / Queries / October 2006

Tip: Looking for answers? Try searching our database.

Selective Update Query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Novice2000 - 31 Oct 2006 18:03 GMT
I have a table with multiple customers each identified by a policy number.
Each is also assigned one of 20 HMOs.  They have had the chance to change
HMOs. I have a list of the policies that have changed HMOs.

Is there a way to write a query that will select each policy number in the
main table and update just the HMO for that policy?
Jeff Boyce - 31 Oct 2006 19:14 GMT
I don't have a very clear picture of your table structure.  Since queries
depend on (and in your case, will modify) the data, you'll need to start at
the data...

Regards

Jeff Boyce
Microsoft Office/Access MVP

>I have a table with multiple customers each identified by a policy number.
> Each is also assigned one of 20 HMOs.  They have had the chance to change
> HMOs. I have a list of the policies that have changed HMOs.
>
> Is there a way to write a query that will select each policy number in the
> main table and update just the HMO for that policy?
KARL DEWEY - 31 Oct 2006 19:18 GMT
Create a query with both tables - main table & policies that have changed HMOs.
Join the two tables on the police numbers.  Run the select query and look
the data over.  If it is ok then change to update query and run.

I think you would be better served if you used another table that linked
policy holder to HMO and included date of start, date of terminate, reason
for terminate, etc.

> I have a table with multiple customers each identified by a policy number.
> Each is also assigned one of 20 HMOs.  They have had the chance to change
> HMOs. I have a list of the policies that have changed HMOs.
>
> Is there a way to write a query that will select each policy number in the
> main table and update just the HMO for that policy?
 
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.