473,624 Members | 2,117 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

asp : compare records in two access databases


Hi,

i've googeled to find a asp-script that can compare all the records in two
different access databases
the mdb's have exactly the same tables
what i want is that (the output) all the differences comes in a html-table
in a webpage
can anybody help me, are give me a example ?

thanks
charlotte

Feb 10 '08 #1
13 2637
"Charlotte" <ch************ ***@SPAMtelenet .bewrote in message
news:%P******** ***********@new sfet14.ams...
>
Hi,

i've googeled to find a asp-script that can compare all the records in two
different access databases
the mdb's have exactly the same tables
what i want is that (the output) all the differences comes in a html-table
in a webpage
can anybody help me, are give me a example ?
Is a primary key defined?
What do you want the output to look like?

Given this layout: "key,field1,fie ld2"
where table 1 contains
1,a,b
2,c,d
and table 2 contains::
1,a,b
3,e,f
How would you want the differences reported?

Perhaps just identifying the "key" differences?
table1 : 1=,2+,3-
table2 : 1=,2-,3+
Feb 11 '08 #2
Evertjan. wrote:
Bob Barrows [MVP] wrote on 11 feb 2008 in
microsoft.publi c.inetserver.as p.general:

I don't think, in the case of the OP, Bob, this is about users and
about large databases, but about the owner wanting to do some
houeshold jobs on her database on a semi regular basis, say once a
year.

I'm not sure how you came to that conclusion.
>
Setting a process in motion that takes 10 minutes or perhaps an hour
in ASP is not that bad.
It is if a busy web server is involved.
Being able to do that from different
locations is a nice plus of the ASP method.
Along with various other remote procedure techniques.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Feb 11 '08 #3
Hi,

i've googeled to find a asp-script that can compare all the records in two
different access databases
the mdb's have exactly the same tables
what i want is that (the output) all the differences comes in a html-table
in a webpage
can anybody help me, are give me a example ?

thanks
charlotte

example:
I have two MDB and both have exactly the same table (table1)
table1 from MDB1 and table1 from MDB2 have exactly the same structure
each containing these fields:
id , lastname , firstname

in MDB1 are 100 records
in MDB2 are 90 records
(records with id 91,92,93,.....1 00 aren't there)
and record with id 50 has a different firstname

so, this will be:

50 - nothing - wrong firstname that is in MDB1
91 - peeters - kurt
92 - hannivoort - evertjan
93 - deleeuw - charlotte
....
....
100 - travolta - john

the html-table is:

<table>
<tr>
<td>50</td>
<td></td>
<td>wrong firstname</td>
</tr>
<tr>
<td>91</td>
<td>peeters</td>
<td>kurt</td>
</tr>
<tr>
<td>92</td>
<td>hannivoor t</td>
<td>evertjan</td>
</tr>
<tr>
<td>93</td>
<td>deleeuw</td>
<td>charlotte </td>
</tr>
....
....
<tr>
<td>100</td>
<td>travolta</td>
<td>john</td>
</tr>
</table>

so, the records that aren't the same in the two MDB comes in the html-table
and also all the records witch aren't in MDB1

I hope this is ubderstandable

charlotte

Feb 11 '08 #4
Charlotte wrote:
>Hi,

i've googeled to find a asp-script that can compare all the records
in two different access databases
the mdb's have exactly the same tables
what i want is that (the output) all the differences comes in a
html-table in a webpage
can anybody help me, are give me a example ?

thanks
charlotte


example:
I have two MDB and both have exactly the same table (table1)
table1 from MDB1 and table1 from MDB2 have exactly the same
structure each containing these fields:
id , lastname , firstname

in MDB1 are 100 records
in MDB2 are 90 records
(records with id 91,92,93,.....1 00 aren't there)
and record with id 50 has a different firstname
Will mdb2 ever contain records that aren't in mdb1?

Are the two databases on the same network (allowing a linked table to be
used to enable an easy query solution)?
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Feb 11 '08 #5
>>Hi,

i've googeled to find a asp-script that can compare all the records
in two different access databases
the mdb's have exactly the same tables
what i want is that (the output) all the differences comes in a
html-table in a webpage
can anybody help me, are give me a example ?

thanks
charlotte


example:
I have two MDB and both have exactly the same table (table1)
table1 from MDB1 and table1 from MDB2 have exactly the same
structure each containing these fields:
id , lastname , firstname

in MDB1 are 100 records
in MDB2 are 90 records
(records with id 91,92,93,.....1 00 aren't there)
and record with id 50 has a different firstname

Will mdb2 ever contain records that aren't in mdb1?

Are the two databases on the same network (allowing a linked table to be
used to enable an easy query solution)?

the two databases are in the same LAN
MDB1 is on webserver 1
and MDB2 is on webserver 2

webserver 1 is the real webserver for everyone on are LAN
webserver 2 is my test-webserver
Feb 11 '08 #6
Charlotte wrote:
>>>Hi,

i've googeled to find a asp-script that can compare all the records
in two different access databases
the mdb's have exactly the same tables
what i want is that (the output) all the differences comes in a
html-table in a webpage
can anybody help me, are give me a example ?

thanks
charlotte
example:
I have two MDB and both have exactly the same table (table1)
table1 from MDB1 and table1 from MDB2 have exactly the same
structure each containing these fields:
id , lastname , firstname

in MDB1 are 100 records
in MDB2 are 90 records
(records with id 91,92,93,.....1 00 aren't there)
and record with id 50 has a different firstname

Will mdb2 ever contain records that aren't in mdb1?

Are the two databases on the same network (allowing a linked table
to be used to enable an easy query solution)?


the two databases are in the same LAN
MDB1 is on webserver 1
and MDB2 is on webserver 2

webserver 1 is the real webserver for everyone on are LAN
webserver 2 is my test-webserver
Do you know how to create a linked table in Access? That will make this
relatively easy since you will be able to create a query using a full outer
join to generate the records for your report.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Feb 11 '08 #7
>>>>Hi,
>
i've googeled to find a asp-script that can compare all the records
in two different access databases
the mdb's have exactly the same tables
what i want is that (the output) all the differences comes in a
html-table in a webpage
can anybody help me, are give me a example ?
>
thanks
charlotte
example:
I have two MDB and both have exactly the same table (table1)
table1 from MDB1 and table1 from MDB2 have exactly the same
structure each containing these fields:
id , lastname , firstname

in MDB1 are 100 records
in MDB2 are 90 records
(records with id 91,92,93,.....1 00 aren't there)
and record with id 50 has a different firstname
Will mdb2 ever contain records that aren't in mdb1?

Are the two databases on the same network (allowing a linked table
to be used to enable an easy query solution)?


the two databases are in the same LAN
MDB1 is on webserver 1
and MDB2 is on webserver 2

webserver 1 is the real webserver for everyone on are LAN
webserver 2 is my test-webserver

Do you know how to create a linked table in Access? That will make this
relatively easy since you will be able to create a query using a full
outer join to generate the records for your report.

yes, I know how to make linked tables, but that's not our intention
our intention is an ASP-page with an html-table like I wrote above

thanks
Feb 11 '08 #8

so, ....... is there someone who can (will) give me an example

thanks
charlotte
Feb 11 '08 #9
Charlotte wrote:
so, ....... is there someone who can (will) give me an example

thanks
charlotte
Patience ... i'm working on it. :-)
It's not something I have ever done, so I have nothing to copy and paste.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Feb 11 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
4322
by: tom | last post by:
I am new to SQL administration. >From a list of IDs that are the primary key in one table (i.e. Customer Table), I want to make changes in tables that use those IDs as a foreign key. Basically I want to say: If fk_ID is in list then do these statements to that record
5
10864
by: Megan | last post by:
Hi everybody- I'm helping a friend with a music database. She has an old one and is creating a new one. She wants to compare records and fields in the old database with records and fields in the new database. For instance, her old database has a table with Band Info in it. Her new database also has a table with Band Info in it but slightly different. I was wondering if there was an easy way to compare the fields from similar tables in...
1
4196
by: Prakash RudraRaju | last post by:
Hi, I have recently migrated MSAccess Tables (nearly 120) to MySQL. To test successful migration I want to compare all tables. I have linked MySQL tables through ODBC connection. I want to create a report that compares all records between all tables in both databases. I am looking for a report with differences in number of records and differences in fields if 2 records are different. Probabaly it can be acheived through query, but I...
8
7129
by: Vincent | last post by:
has any one seen a program to compare mdbs'. I have ran into a few of them, but none seem to really do that job. Basically what I need to do is, take 2 access mdb's and check the differences between the 2. i am talking about tables, forms, queries, the whole ball of wax. Most of the programs jus do tables, that is the easy part. Also I was wondering how you would compate text fiels progammatically and kick back a report using...
6
2122
by: Damon Grieves | last post by:
Hi I just want to be sure I understand how the Access client works. If I have an Access back end with a million records on a server and an Access client. If the client is installed on the users pc and run by the user...does Access drag the whole million records across the LAN when we call up one record ie filters for that record locally? If the client is on the same server as the back end, and the user starts up the client on the server...
1
1837
by: Stephen | last post by:
I am trying to compare the tables in two similar databases using the SQLDMO object. I am able to use this object to access different SQL servers and choose two different databases. The versions of the databases are slightly different so I would like to be able to compare them for things like datatypes, primary and foreign keys, number of records etc. I know that there are packages out there that do this kind of thing but I have to...
3
9580
by: super.raddish | last post by:
Greetings, I am relatively new to, what I would call, advanced XSLT/XPath and I am after some advice from those in the know. I am attempting to figure out a mechanism within XSLT to compare the difference between two source documents and output node-sets which are "different" (changed or new) to new XML files using xsl:result-document To describe the problem I have provided some example data below along with my a portion of my current...
1
2939
by: chungiemo | last post by:
Hi thought I would do another thread as this one is a bit different from the previous problem I am looking for a solution to the relating problem Comparing 2 access databases with 2 tables, they are non-related tables, but should have been related by the ID, and reason for this was due to the poor data entry standards. I am trying to compare both databases with a Partial ID in Table 1 and match it to the Full ID in Table 2 with the...
1
1102
by: metanarcissus | last post by:
"hi i have two excel spreadsheets (databases!) that have more than 8000 records in them. one is the old version (A) and one is the new version (B). the primary key (ID) is the name for all of these but the quantity for some of their lab results have been updated. i need to find a way to identify those records in the old database that have new column values for "Quantity". i'd appreciate any help. thanks. btw. i have imported the two...
0
8238
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8174
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8680
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8336
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8478
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7164
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6111
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2607
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.