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 / Forms Programming / May 2007

Tip: Looking for answers? Try searching our database.

Loop... Append Query + Open Form + Update Query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MF Scheetz - 11 May 2007 19:03 GMT
I've got a form that upon selecting a a record from a combo box, the data for
that record is copied to a temp table that is used for a different form (to
update the data).  This 2nd form is an edit form for users to update data on
the selected record.  When this form opens, a number of calculations are made
to update various rates in the data.  A bunch of my records have incorrect
rates, and if I select them and open the 2nd form the errors are corrected.  
I've got almost 8000 records and was wondering if there was a way to make a
loop to :

1. copy the first record to the temp table
2. open the 2nd form (based on the data in the temp table)
3. close the form
4. update the data in the original table
5. loop to next record
6. continue until the end of the table is reached.

The main table and the temp table have the same records.

Please help.

-Matt
Damon Heron - 11 May 2007 21:14 GMT
The calculations on the second form are what makes the update, correct?  The
user doesn't really have to do anything, and the table rates are updated?
Perhaps you can build an update query to do the task.  Without knowing what
fields and calculations are involved
I can't give you specifics, but a query should work.

Damon

> I've got a form that upon selecting a a record from a combo box, the data
> for
[quoted text clipped - 23 lines]
>
> -Matt
 
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.