Re: Cut record from a table instead of appending

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Mon, 28 Aug 2006 23:37:00 -0700, "CAM" <alex_martinez@xxxxxxxxxxx>
wrote:

Hello,

I have two tables call "monthAudits" and another "Upload" I get select
policy numbers from the monthAudits and append the policy number into the
Upload table, which works fine, but what I really want to do is to take the
selected policy numbers from the monthAudits table and put it into the
Upload table. I don't want to append to the Upload table I just want to cut
the policy number from the monthAudits table and paste it to the Upload
table. There are maybe about 20 or more records. I just want to reduce the
size of the monthAudits table and get only the records I want and put it
into the Upload table. Can someone give me a hand on this. Thank you in
advance.


Ummm...

Why should the Upload table exist at all?

You can export (for uploading) from a Select Query selecting the 20
records from the monthAudits table, and not make a second copy of the
data in the first place.

If you *do* want to do so, you'll need to run an Append query to add
the records, followed by a Delete query to remove them; these two
queries should be wrapped in a Transaction (see the online help for
the term) to ensure that both queries run, or both get rolled back.


John W. Vinson[MVP]
.



Relevant Pages

  • Cut record from a table instead of appending
    ... policy numbers from the monthAudits and append the policy number into the ... Upload table, which works fine, but what I really want to do is to take the ... I don't want to append to the Upload table I just want to cut ...
    (microsoft.public.access.queries)
  • Re: form to email document
    ... > append the Session ID for that user Session to the file name. ... > name uploaded.This can come from a simple text file or a database. ... >> I was hoping for something like the procedure used to upload a form, ...
    (microsoft.public.frontpage.programming)
  • Re: form to email document
    ... append the Session ID for that user Session to the file name. ... Alternatively, if you want to store the image information in a database, ... > I was hoping for something like the procedure used to upload a form, ...
    (microsoft.public.frontpage.programming)
  • Upload, download deliminated txt file
    ... laptop downloads their files and uploads them to the main PC. ... Now when I upload to the main PC I wanted to append the tables from ... append there tables without the autonumber. ... I know how to download and upload, the problem is the sequence about the ...
    (microsoft.public.access.modulesdaovba)
  • Mime Email Attachments
    ... is there a way to send email attachments using the mime method without ... using a browse html form button(ie upload and append the file without ...
    (php.general)