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.

Append Single Record on click of button

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
franklinbukoski - 11 Nov 2005 14:29 GMT
I want to append a single record from a query in one database to a table in
another database, when I click on a button I label Complete.  This button is
part of the source table the query runs from.

The source query is Completed Awards, it shows me all records in a table
where an award has been checked as complete.  The problem is I need a
historical record of all awards for each company in our organization, but we
have personnel turnover every three years, and there is a finite key (the
billet they are assigned against).  So, one person may have multiple same
awards, but different dates, and then when they leave, their billet gets
assigned to someone else, so my current records won't show me where they
worked or their name, just their SSN and the award they received.  I probably
haven't articulated the dilema correctly, but any assistance would be greatly
appreciated.
[MVP] S.Clark - 11 Nov 2005 17:01 GMT
Create a form.
Add a button.
In the code behind the button, run the query.

Private Sub cmdComplete_Click()

   docmd.openquery "MyQueryThatDoesWhatINeed"

End Sub

Signature

Steve Clark, Access MVP
http://www.fmsinc.com/consulting
*FREE* Access Tips: http://www.fmsinc.com/free/tips.html

>I want to append a single record from a query in one database to a table in
> another database, when I click on a button I label Complete.  This button
[quoted text clipped - 14 lines]
> greatly
> appreciated.
 
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.