PC Review


Reply
Thread Tools Rate Thread

Automatically Insert into Access Tables

 
 
Mac@440th
Guest
Posts: n/a
 
      3rd Apr 2007
I have developed 2 tables in Access using FP's Database Wizard. Table
"A" is a daily working table that my clients tap into all day long.
Table "B" is a table, using same design schema as Table B that I
receive from higher headquarters on a weekly basis. I have developed
an ASP script that steps through each record in Table B and compares
with same record in Table A, if a difference is found in any of the
fields, a listing is displayed on a HTML page.

I want to historically capture the differences and place in a 3rd
table (Table C) with the date of each comparison. Is there a way, via
ASP or ASP.NET, to step through each record in "B" compare it to data
in "B" and and input any differences into Table C?

 
Reply With Quote
 
 
 
 
Stefan B Rusynko
Guest
Posts: n/a
 
      4th Apr 2007
Yes
When you are running your comparison for differences (A to B) and find one to display as a difference
- open table C & add the date/time and the Table B / Table A field content
(in the same field name structure doubled in Table C as say FieldnameA & FieldnameB)

You could also run the query twice
- first time as is to display results
- second time to compare but not display (just update C)
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


"Mac@440th" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
|I have developed 2 tables in Access using FP's Database Wizard. Table
| "A" is a daily working table that my clients tap into all day long.
| Table "B" is a table, using same design schema as Table B that I
| receive from higher headquarters on a weekly basis. I have developed
| an ASP script that steps through each record in Table B and compares
| with same record in Table A, if a difference is found in any of the
| fields, a listing is displayed on a HTML page.
|
| I want to historically capture the differences and place in a 3rd
| table (Table C) with the date of each comparison. Is there a way, via
| ASP or ASP.NET, to step through each record in "B" compare it to data
| in "B" and and input any differences into Table C?
|


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking to automatically re-link tables in Access FmEdit Microsoft Access 2 13th Mar 2010 05:50 PM
Re: Insert bimap into Access tables using VB.NET Paul Clement Microsoft ADO .NET 5 28th Sep 2004 06:39 PM
Insert bimap into Access tables using VB.NET =?Utf-8?B?UE9K?= Microsoft ADO .NET 0 22nd Sep 2004 01:17 PM
Re: Automatically insert in an Access Form Jeff Boyce Microsoft Access Forms 2 1st Sep 2004 12:36 PM
Insert into Access tables using JDBC =?Utf-8?B?QW5uZQ==?= Microsoft Access External Data 0 27th Jan 2004 06:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:17 PM.