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

Tip: Looking for answers? Try searching our database.

delete query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
coconutt - 09 Nov 2005 17:35 GMT
Hi, I have a table I need to update.I plane on importing my spreadsheet to
the table. If I have a matching record, what is the best way to put the
vewest data into my table?

Hope I explained this ok
Chris2 - 10 Nov 2005 00:39 GMT
> Hi, I have a table I need to update.I plane on importing my spreadsheet to
> the table. If I have a matching record, what is the best way to put the
> vewest data into my table?
>
> Hope I explained this ok

coconutt,

Untested Aircode:

UPDATE ExistingTable AS ET1
      INNER JOIN
      ImportedTable AS IT1
  SET ET1.Col1 = IT1.Col1
     ,ET1.Col2 = IT1.Col2
     ,etc.
     ,etc.
WHERE ET1.PK = IT1.PK

Note: This is only an example meant to point you, potentially, in
the correct direction.  It is not the actual query you will run.

Sincerely,

Chris O.
 
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.