473,395 Members | 1,938 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,395 software developers and data experts.

Professor needs help - Using Access Table Guid to ascertain if student cheated

Hi:

I am a EE prof currently teaching an IT course.

One the assignments students recently completed was designing a small
MS Access Database.

I have two submissions that are remarkably similiar..<sigh> the
structure (number of tables, field names, table names) is virtually
identical. Some of the data in each table is different.

I used the documenter to dump for each database; i noticed each access
object (specifically tables) get a Guid. Comparing the two, I noticed
the table guid's are the same for both.

I have done a lot of reading, searched the knowledgebase, etc.
Unfortunately, I am running out of time.

Any help with the following questions would be appreciated:

- does each Access object automatically get a GUID upon creation? I
know they are assigned if you are doing replication, but it looks like
they are always created when the object (table, record, etc) is. If
so, is there a document (book, article etc) you could point me to.

- under what circumstances could the table GUID's be the same in two
different database files?

- are there any other items I could check to ascertain if they are
the same underlying database?

txs

-- ben koehler
db****@usma.edu
Nov 12 '05 #1
6 2263
DFS
Bernd,

Look at the object creation dates and times. If they're identical between
the same objects in both files, you have a cheater. If all the table
creation dates are identical (or very close), you may have a cheater - they
could have created a blank .mdb and imported all the tables from the
original.

"Bernd Koehler" <db****@usma.edu> wrote in message
news:4a*************************@posting.google.co m...
Hi:

I am a EE prof currently teaching an IT course.

One the assignments students recently completed was designing a small
MS Access Database.

I have two submissions that are remarkably similiar..<sigh> the
structure (number of tables, field names, table names) is virtually
identical. Some of the data in each table is different.

I used the documenter to dump for each database; i noticed each access
object (specifically tables) get a Guid. Comparing the two, I noticed
the table guid's are the same for both.

I have done a lot of reading, searched the knowledgebase, etc.
Unfortunately, I am running out of time.

Any help with the following questions would be appreciated:

- does each Access object automatically get a GUID upon creation? I
know they are assigned if you are doing replication, but it looks like
they are always created when the object (table, record, etc) is. If
so, is there a document (book, article etc) you could point me to.

- under what circumstances could the table GUID's be the same in two
different database files?

- are there any other items I could check to ascertain if they are
the same underlying database?

txs

-- ben koehler
db****@usma.edu

Nov 12 '05 #2
db****@usma.edu (Bernd Koehler) wrote in
<4a*************************@posting.google.com> :
Hi:

I am a EE prof currently teaching an IT course.

One the assignments students recently completed was designing a
small MS Access Database.

I have two submissions that are remarkably similiar..<sigh> the
structure (number of tables, field names, table names) is
virtually identical. Some of the data in each table is different.
The best method for tracking cheating is the pattern of mistakes.
Are there any misspellings of table or field names? Are there
misspellings in the data? If the same errors are present in both,
one must be derived from the other.
I used the documenter to dump for each database; i noticed each
access object (specifically tables) get a Guid. Comparing the two,
I noticed the table guid's are the same for both.
What version of Access is this? I'm checking my A97 and A2K apps,
and in A97, there's not GUID at all, even in replicated apps. In
A2K, I'm seeing some GUIDs and some not. At first I thought it was
tables created in A2K had GUIDs, tables imported from (or converted
from) A97 did not, but that doesn't seem to be the case, either.

I would say that if the GUIDs match and the DateCreated properties
of the TableDefs match, you've got a lock on it.
I have done a lot of reading, searched the knowledgebase, etc.
Unfortunately, I am running out of time.

Any help with the following questions would be appreciated:

- does each Access object automatically get a GUID upon creation?
I know they are assigned if you are doing replication, but it
looks like they are always created when the object (table, record,
etc) is. If so, is there a document (book, article etc) you could
point me to.
Just testing, I don't see any evidence that creating a table in A2K
gives it a GUID. Certainly, tables imported from A97 seem to have
none. I had thought that perhaps it might be associated with Name
AutoCorrect, but can't see that there's any way I'm able to get A2K
to create tables with GUIDs.
- under what circumstances could the table GUID's be the same in
two different database files?
Given the way they are calculated, I don't think there is a way for
it to happen. Combined with the date created property of the
tabledef, I think you'd have a lock on it.
- are there any other items I could check to ascertain if they
are the same underlying database?


It's impossible for all tables in two independent MDBs to have
exactly the same DateCreated and also have identical GUIDs.

But I don't have any documentation for that. But if you think about
what a GUID is supposed to be (globally unique identifier) and the
ways it is populated in various contexts (usually using
machine-specific data like MAC address and the time), it's pretty
much impossible for two GUIDs to be identical.

A pattern of identical GUIDs and creation times pretty much proves
that there was no independent work going on.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 12 '05 #3
Ha! Fenton Busted!

In article <94***************************@24.168.128.78>
dX********@bway.net.invalid (David W. Fenton) wrote:

db****@usma.edu (Bernd Koehler) wrote in
<4a*************************@posting.google.com> :
Hi:

I am a EE prof currently teaching an IT course.

One the assignments students recently completed was designing a
small MS Access Database.

I have two submissions that are remarkably similiar..<sigh> the
structure (number of tables, field names, table names) is
virtually identical. Some of the data in each table is different.


The best method for tracking cheating is the pattern of mistakes.
Are there any misspellings of table or field names? Are there
misspellings in the data? If the same errors are present in both,
one must be derived from the other.
I used the documenter to dump for each database; i noticed each
access object (specifically tables) get a Guid. Comparing the two,
I noticed the table guid's are the same for both.


What version of Access is this? I'm checking my A97 and A2K apps,
and in A97, there's not GUID at all, even in replicated apps. In
A2K, I'm seeing some GUIDs and some not. At first I thought it was
tables created in A2K had GUIDs, tables imported from (or converted
from) A97 did not, but that doesn't seem to be the case, either.

I would say that if the GUIDs match and the DateCreated properties
of the TableDefs match, you've got a lock on it.
I have done a lot of reading, searched the knowledgebase, etc.
Unfortunately, I am running out of time.

Any help with the following questions would be appreciated:

- does each Access object automatically get a GUID upon creation?
I know they are assigned if you are doing replication, but it
looks like they are always created when the object (table, record,
etc) is. If so, is there a document (book, article etc) you could
point me to.


Just testing, I don't see any evidence that creating a table in A2K
gives it a GUID. Certainly, tables imported from A97 seem to have
none. I had thought that perhaps it might be associated with Name
AutoCorrect, but can't see that there's any way I'm able to get A2K
to create tables with GUIDs.
- under what circumstances could the table GUID's be the same in
two different database files?


Given the way they are calculated, I don't think there is a way for
it to happen. Combined with the date created property of the
tabledef, I think you'd have a lock on it.
- are there any other items I could check to ascertain if they
are the same underlying database?


It's impossible for all tables in two independent MDBs to have
exactly the same DateCreated and also have identical GUIDs.

But I don't have any documentation for that. But if you think about
what a GUID is supposed to be (globally unique identifier) and the
ways it is populated in various contexts (usually using
machine-specific data like MAC address and the time), it's pretty
much impossible for two GUIDs to be identical.

A pattern of identical GUIDs and creation times pretty much proves
that there was no independent work going on.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
























Nov 12 '05 #4
On 4 Dec 2003 08:39:03 -0800, db****@usma.edu (Bernd Koehler) wrote:

Interesting assignment. Here is my solution. Run this code in both
databases. Tested in Access2000. Same guids = cheaters.

Sub DumpGuids()
Dim td As DAO.TableDef
On Error Resume Next ' Property may not always exist
For Each td In CurrentDb.TableDefs
Debug.Print td.Name, StringFromGUID(td.Properties("GUID"))
Next td
End Sub

-Tom.

Hi:

I am a EE prof currently teaching an IT course.

One the assignments students recently completed was designing a small
MS Access Database.

I have two submissions that are remarkably similiar..<sigh> the
structure (number of tables, field names, table names) is virtually
identical. Some of the data in each table is different.

I used the documenter to dump for each database; i noticed each access
object (specifically tables) get a Guid. Comparing the two, I noticed
the table guid's are the same for both.

I have done a lot of reading, searched the knowledgebase, etc.
Unfortunately, I am running out of time.

Any help with the following questions would be appreciated:

- does each Access object automatically get a GUID upon creation? I
know they are assigned if you are doing replication, but it looks like
they are always created when the object (table, record, etc) is. If
so, is there a document (book, article etc) you could point me to.

- under what circumstances could the table GUID's be the same in two
different database files?

- are there any other items I could check to ascertain if they are
the same underlying database?

txs

-- ben koehler
db****@usma.edu


Nov 12 '05 #5
Can the same thing be accomplished if you look at the MSysObjects table and
compare the creation dates?

figueroa at ync dot com
Nov 12 '05 #6
Tom van Stiphout <to*****@no.spam.cox.net> wrote:
Interesting assignment. Here is my solution. Run this code in both
databases. Tested in Access2000. Same guids = cheaters.

Sub DumpGuids()
Dim td As DAO.TableDef
On Error Resume Next ' Property may not always exist
For Each td In CurrentDb.TableDefs
Debug.Print td.Name, StringFromGUID(td.Properties("GUID"))
Next td
End Sub


Ah, nice. Now what is interesting is one of my testing A2000 MDBs has a table with
a GUID. I just created another table and it doesn't have a GUID. No idea why.

FWIW I'd prefer the following error trapping just in case there's another error
besides the 3270.

Sub DumpGuids()
Dim td As DAO.TableDef
On Error GoTo tagError
For Each td In CurrentDb.TableDefs
Debug.Print td.Name, StringFromGUID(td.Properties("GUID"))
Next td
Exit Sub

tagError:
If Err.Number = 3270 Then '' Property doesn't exist
Debug.Print td.Name, "GUID not found"
Else
Debug.Print td.Name, Err.Description
End If
Resume Next

End Sub

I should also check to see if the name of the table starts with MSys but couldn't be
bothered for this test.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 12 '05 #7

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

Similar topics

3
by: Waqas | last post by:
Please see the detail of tables with fields in SQL server 2000. ·Table Student .Table Good Qualities ( It is a list of Students) (It is a list of Good Qualities)...
5
by: Ilan Sebba | last post by:
When it comes to adding records in related tables, Access is really smart. But when I try to do the same using ADO, I am really stupid. Say I have two parent tables (eg Course, Student) and one...
1
by: Wm. Scott Miller | last post by:
I have a Custom DTS Task for SQL Server and I've got it working fine, except for when I try to access its properties from an ActiveX script. I have added a new property called Length and a method...
2
by: Anders Borum [.NET/C# MCP] | last post by:
Hello! With C# 2.0 coming up, I was wondering what your thoughts are regarding the introduction of access modifiers on set accessors. Personally, I like the first example, because of its...
1
by: xcelmind | last post by:
Hello Dev. Guru, I want to at this time introduce myself. I am Stanley Ojadovwa by name. I’m a freelance and a newbie in web application development. I’m currently using ASP as my application...
4
by: kageyone | last post by:
I have an access database with a table with two fields. They are 1. a GUID field and 2. a comma delimited set of values. I want to take this table and for each row I want to do the following: ...
0
by: Tony Hine | last post by:
Problem for Excel Developers One of the problems facing Excel developers moving into MS Access is actually the apparent similarity between MS Access tables and Excel spreadsheets. MS Access is...
0
by: shivapadma | last post by:
Hi, I have a problem while inserting a row into MS Acess database I followed the below procedure to insert a row into MS Access 1. Add a Button control to Form1. 2. Right-click Button1,...
0
by: imagetvr | last post by:
Hello I am using windows XP I need a small programme in Visual basic 6 with Access 2000 I have two tables for example one table named student other table named section In student table...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
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...
0
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...
0
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,...

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.