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.

Copy data from one table to next automatically

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Neil Greenough - 04 May 2005 14:33 GMT
I have two different tables - "Clients" and "Potential Clients." Both tables
have 10 fields, with 5 of these field being the same within each table;
name, address, telephone, contact, email.

Now, when a potential client gets back to me to confirm they would like a
job doing, I would like to be able to click on a button on my "potential
client" form and this will in turn, copy the data from the potential client
table to the client table, that is to say, the data that they share (name,
address etc....). Likewise, once done, I would then like a continuation in
the code that will delete the whole entry in the potential client table, so
that there details only exist in one table.

Thanks
Hans Kemper - 09 May 2005 10:51 GMT
Hello,
I suggest to use just one table 'Clients' with a Boolean field
'potentional'.
In queries, forms etc. you can filter on the field 'potentional' to get real
or potentional clients.

Otherwise you must write some DAO code that copies the record  from one to
the other table and deletes the record afterwards.

good luck

Hans Kemper

>I have two different tables - "Clients" and "Potential Clients." Both
>tables have 10 fields, with 5 of these field being the same within each
[quoted text clipped - 9 lines]
>
> Thanks
 
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.