Save data from a form to a table (1 Viewer)

Tom A

New member
Local time
Today, 06:58
Joined
May 4, 2020
Messages
6
Hello everyone,
I have a list of works to do each week to my machines of my lab. So I created a form from a query (which query is from 4 differents tables) in order to gather all the informations. What I want is to add a button to this form with a VBA code that could save all the informations of this form into a independ table ( an empty table, I would like to have a history).
PS: I don't want to change the datas from my tables, just keep a history in Access (a table).
 

ontopofmalvern

Registered User.
Local time
Today, 05:58
Joined
Mar 24, 2017
Messages
64
This is easy enough to do with an append query as bob suggests, but why do you need to? unless you are deleting data from originating tables this would just duplicate data? You can recall your history anytime using same query.
 

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Yesterday, 23:58
Joined
Feb 28, 2001
Messages
27,148
From your description, I have to ask if this "four table" source is a system under your control or not, and is it based on Access or something else?

Knowing that might help us better understand what can and cannot happen.
 

Users who are viewing this thread

Top Bottom