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

Tip: Looking for answers? Try searching our database.

Copying field values from table "A" to table "B"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
samus - 26 Sep 2005 18:42 GMT
 I am trying to find a way to copy a field value from table "A" to a field
in table "B". I realize that this causes duplicate entries but it is reqired
because at a later date I need to be able the change the field value of table
"A" and not have it affect the value already copied in table "B". Thank u in
advance for any help.
Signature

Scott McCoy

Tim Ferguson - 27 Sep 2005 18:49 GMT
>   I am trying to find a way to copy a field value from table "A" to a
>   field in table "B".

 update tableB
 set somefield = dlookup("otherfield","tableA","otherkey=value")
 where somekey=somevalue

If you provide more precise information, we may be able to provide more
relevant pointers.

B wishes

Tim F
 
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.