473,387 Members | 1,624 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to use a form to update a blank table

im trying to figure out how to create a adhock ticketing system through ms access. I have my main table with 20,000 records. Some records may not need to be modified some may need to be and others may need to be duplicated. What I would like to do is create a blank table in the same structure as the original with no records. Then do an unmatched query between those 2 tables so it would catch the records that have been worked already. I would then create a form based off my unmatched query but I would like the form to then update the blank table. The problem I am running into is that I do not know how to make the form update the blank table it is just appending the main table. Could anyone shed some light on this quandry I have?
Sep 21 '10 #1
5 2159
Mariostg
332 100+
What is the query(ies) you use to update your "blank" table?
If you use an UPDATE query, you have to specify two tables (SELECT table1, table2) and use the SET command to update the fields in say table2 based on matching records between table1 and table2. If your blank table is empty, you cannot match anything obviously.

I am not sure you state your problem clearly.
Sep 22 '10 #2
I was using the unmatched query as a checksum making sure the records are not being worked twice since once they are populated into both tables the find unmatched query will not grab records that show in both tables.
Sep 22 '10 #3
Mariostg
332 100+
What is the data source of the main form? From what you say in your original post, looks like it is linked to the main table. If that is the case, it cannot update the blank table.
Sep 22 '10 #4
I just want it to pull from the main table and update the second table with any modifications leaving the main table unmodified. I would then use the unmatched query to eliminate reworking the same records.So I assume from what you are saying that it is not possible to do this?
Sep 22 '10 #5
Mariostg
332 100+
Well, anything is possible, but probably unlikely with this approach. From what I understand, your form is linked to the main table and you want that any changes made within the form takes place in the blank table rather than the main table. To do this you would likely have to use an unbound form. It would populate from the main form but redirect the changes to the blank form...

If the only reason for keeping the main table untouched is to be able to identify which record has been updated then maybe creating an additional field in this table, let's call it isUpdated would be a better approach. Set its value to 1 if updated, 0 otherwise.
Sep 22 '10 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Scott Sabo | last post by:
Hello- I have a table (tblCalls) where I import call stats from an application to. The table has fields: CallID, EmpID, EmpName, CallDate, TotalCalls, etc, etc. On the import process I use...
4
by: Norm | last post by:
Hi All, When a table is linked to a form, Access normally updates the entire table when that record is closed. The fields don't get get updated in the table as they become changed. I've got...
0
by: EKL | last post by:
Hi, I'm making a sort of Customer and Orders database in MS Access 2003. My problem is that I wish to update the table "tblTransaction" based on changes made in the table "tblOrderDetails"....
0
by: deepak kumar | last post by:
i have populated html dropdownlst at cleint side using javascript (by putting run as server control property =true)..........now i want to insert the selected text(which user select at cleint side)...
1
by: Sharon | last post by:
Hello All, Is it possible to update Sql Table through DataGrid. I have a DataGrid which is being populated through a stored procedure, all i wanted to do is to update one field...
4
by: Stan | last post by:
I am working with MS Office Access 2003 11.5614 on a computer running XP. If I change a property such as the input mask in a table, to have the change reflected in an existing form I have to go...
2
by: Ron | last post by:
Hi All, Okay, I've got a frmOrders with a subform of sfrmDetails. A frmClient has all the client info, plus a subform of sfrmDefaults that has the client's normal ordering defaults (like set...
5
by: sensreview | last post by:
Hello, I need help in selecting a value from combo list thru one lookup table and update different table on MS access form. For eg; I have a lookup table of usernames, I need to use this...
1
by: mkheys | last post by:
Hi I have a database that I use for tracking ebay sales and profits. My sales table has a form that contains the ebay fees calculation but it won't update the sales table with the results from...
1
by: vaiism | last post by:
I have attempted using both Updata and Append Queries to solve this problem, and I can't seem to get it to work. I have three forms that each have an ID#, and a subform with related scores to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.