A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

adding information/keeping history of user name and time stamp



 
 
Thread Tools Display Modes
  #1  
Old May 23rd, 2005, 02:18 PM
GEORGIA
external usenet poster
 
Posts: n/a
Default adding information/keeping history of user name and time stamp

Hello,
I was builiding a database for co-worker of mine.
I have a form with drop down box with usernames, Status and when status
changes to "Complete" it automatically time stamps.
She wants to keep the history of who touched that record.
Is there anyway to concatenate username, status and time stamp to another
column name "History" and keep adding to that every time that record is
touched by someone? For Example:.
Invoice # Invoice Date Username Status Time STamp Hisotry
123 2/15/2005 JOE Complete 1:15pm Joe
Complete 1:15

Smith Complete 2:35


Or can anyone recommend better solution for this? any help would appreciate
it!
Thank you!

  #2  
Old May 23rd, 2005, 02:56 PM
Lynn Trapp
external usenet poster
 
Posts: n/a
Default

Do you want to simply store the last person who modified the record or do
you want to store every person who modifies the record?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
Hello,
I was builiding a database for co-worker of mine.
I have a form with drop down box with usernames, Status and when status
changes to "Complete" it automatically time stamps.
She wants to keep the history of who touched that record.
Is there anyway to concatenate username, status and time stamp to another
column name "History" and keep adding to that every time that record is
touched by someone? For Example:.
Invoice # Invoice Date Username Status Time STamp
Hisotry
123 2/15/2005 JOE Complete 1:15pm Joe
Complete 1:15

Smith Complete 2:35


Or can anyone recommend better solution for this? any help would
appreciate
it!
Thank you!



  #3  
Old May 23rd, 2005, 03:52 PM
GEORGIA
external usenet poster
 
Posts: n/a
Default

Store every person who modified the record.

Thank you for your help!

"Lynn Trapp" wrote:

Do you want to simply store the last person who modified the record or do
you want to store every person who modifies the record?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
Hello,
I was builiding a database for co-worker of mine.
I have a form with drop down box with usernames, Status and when status
changes to "Complete" it automatically time stamps.
She wants to keep the history of who touched that record.
Is there anyway to concatenate username, status and time stamp to another
column name "History" and keep adding to that every time that record is
touched by someone? For Example:.
Invoice # Invoice Date Username Status Time STamp
Hisotry
123 2/15/2005 JOE Complete 1:15pm Joe
Complete 1:15

Smith Complete 2:35


Or can anyone recommend better solution for this? any help would
appreciate
it!
Thank you!




  #4  
Old May 23rd, 2005, 04:36 PM
Lynn Trapp
external usenet poster
 
Posts: n/a
Default

Then you will need to add a history table that is linked one to many to
your main table. You can then set the value to CurrentUser in the
AfterUpdate event of your data entry form.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
Store every person who modified the record.

Thank you for your help!

"Lynn Trapp" wrote:

Do you want to simply store the last person who modified the record or do
you want to store every person who modifies the record?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
Hello,
I was builiding a database for co-worker of mine.
I have a form with drop down box with usernames, Status and when status
changes to "Complete" it automatically time stamps.
She wants to keep the history of who touched that record.
Is there anyway to concatenate username, status and time stamp to
another
column name "History" and keep adding to that every time that record is
touched by someone? For Example:.
Invoice # Invoice Date Username Status Time STamp
Hisotry
123 2/15/2005 JOE Complete 1:15pm
Joe
Complete 1:15

Smith Complete 2:35


Or can anyone recommend better solution for this? any help would
appreciate
it!
Thank you!






  #5  
Old May 23rd, 2005, 06:41 PM
GEORGIA
external usenet poster
 
Posts: n/a
Default

problem i have is that the table don't have primary key because there are no
unique characters. for example: there are duplicate invoices #'s and serial
#'s. I couldn't make anything as primary key. Adding autonumber will now
work because it will not be the same number in the history table, correct?
Thank you!

"Lynn Trapp" wrote:

Then you will need to add a history table that is linked one to many to
your main table. You can then set the value to CurrentUser in the
AfterUpdate event of your data entry form.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
Store every person who modified the record.

Thank you for your help!

"Lynn Trapp" wrote:

Do you want to simply store the last person who modified the record or do
you want to store every person who modifies the record?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
Hello,
I was builiding a database for co-worker of mine.
I have a form with drop down box with usernames, Status and when status
changes to "Complete" it automatically time stamps.
She wants to keep the history of who touched that record.
Is there anyway to concatenate username, status and time stamp to
another
column name "History" and keep adding to that every time that record is
touched by someone? For Example:.
Invoice # Invoice Date Username Status Time STamp
Hisotry
123 2/15/2005 JOE Complete 1:15pm
Joe
Complete 1:15

Smith Complete 2:35


Or can anyone recommend better solution for this? any help would
appreciate
it!
Thank you!







  #6  
Old May 23rd, 2005, 07:48 PM
Lynn Trapp
external usenet poster
 
Posts: n/a
Default

Uh Oh! Not a good deal. One of the most important reasons for having a
relational database is to avoid duplicate data. No, an AutoNumber field
won't work and, while it would allow you to create the link I discussed, it
would not prevent the entry of duplicate invoice numbers and serial numbers.
It would just hide their existence. If you need unique invoice numbers and
serial numbers, then you will need to add something, like a unique index, on
those fields to prevent that.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
problem i have is that the table don't have primary key because there are
no
unique characters. for example: there are duplicate invoices #'s and
serial
#'s. I couldn't make anything as primary key. Adding autonumber will now
work because it will not be the same number in the history table, correct?
Thank you!

"Lynn Trapp" wrote:

Then you will need to add a history table that is linked one to many to
your main table. You can then set the value to CurrentUser in the
AfterUpdate event of your data entry form.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
Store every person who modified the record.

Thank you for your help!

"Lynn Trapp" wrote:

Do you want to simply store the last person who modified the record or
do
you want to store every person who modifies the record?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
Hello,
I was builiding a database for co-worker of mine.
I have a form with drop down box with usernames, Status and when
status
changes to "Complete" it automatically time stamps.
She wants to keep the history of who touched that record.
Is there anyway to concatenate username, status and time stamp to
another
column name "History" and keep adding to that every time that record
is
touched by someone? For Example:.
Invoice # Invoice Date Username Status Time STamp
Hisotry
123 2/15/2005 JOE Complete 1:15pm
Joe
Complete 1:15

Smith Complete 2:35


Or can anyone recommend better solution for this? any help would
appreciate
it!
Thank you!









  #7  
Old May 23rd, 2005, 08:42 PM
GEORGIA
external usenet poster
 
Posts: n/a
Default

yes, it is so difficult designing this database because there are no unique
field. The system the team uses, you can key same invoice #, date, Amnt and
Serial #'s. So when I pull a report and import into database, I can't set
the primary key(s). What would you suggest? Should I just not have the
history table added ?

"Lynn Trapp" wrote:

Uh Oh! Not a good deal. One of the most important reasons for having a
relational database is to avoid duplicate data. No, an AutoNumber field
won't work and, while it would allow you to create the link I discussed, it
would not prevent the entry of duplicate invoice numbers and serial numbers.
It would just hide their existence. If you need unique invoice numbers and
serial numbers, then you will need to add something, like a unique index, on
those fields to prevent that.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
problem i have is that the table don't have primary key because there are
no
unique characters. for example: there are duplicate invoices #'s and
serial
#'s. I couldn't make anything as primary key. Adding autonumber will now
work because it will not be the same number in the history table, correct?
Thank you!

"Lynn Trapp" wrote:

Then you will need to add a history table that is linked one to many to
your main table. You can then set the value to CurrentUser in the
AfterUpdate event of your data entry form.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
Store every person who modified the record.

Thank you for your help!

"Lynn Trapp" wrote:

Do you want to simply store the last person who modified the record or
do
you want to store every person who modifies the record?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
Hello,
I was builiding a database for co-worker of mine.
I have a form with drop down box with usernames, Status and when
status
changes to "Complete" it automatically time stamps.
She wants to keep the history of who touched that record.
Is there anyway to concatenate username, status and time stamp to
another
column name "History" and keep adding to that every time that record
is
touched by someone? For Example:.
Invoice # Invoice Date Username Status Time STamp
Hisotry
123 2/15/2005 JOE Complete 1:15pm
Joe
Complete 1:15

Smith Complete 2:35


Or can anyone recommend better solution for this? any help would
appreciate
it!
Thank you!










  #8  
Old May 23rd, 2005, 08:48 PM
Lynn Trapp
external usenet poster
 
Posts: n/a
Default

Well, you can add the UserName to your field in the AfterUpdate event of
your form AND immediately append the record to another table with the same
structure -- a sort of archive table. This will effectively give you a
record of every user who has updated every record in your original table.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
yes, it is so difficult designing this database because there are no
unique
field. The system the team uses, you can key same invoice #, date, Amnt
and
Serial #'s. So when I pull a report and import into database, I can't set
the primary key(s). What would you suggest? Should I just not have the
history table added ?

"Lynn Trapp" wrote:

Uh Oh! Not a good deal. One of the most important reasons for having a
relational database is to avoid duplicate data. No, an AutoNumber field
won't work and, while it would allow you to create the link I discussed,
it
would not prevent the entry of duplicate invoice numbers and serial
numbers.
It would just hide their existence. If you need unique invoice numbers
and
serial numbers, then you will need to add something, like a unique index,
on
those fields to prevent that.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
problem i have is that the table don't have primary key because there
are
no
unique characters. for example: there are duplicate invoices #'s and
serial
#'s. I couldn't make anything as primary key. Adding autonumber will
now
work because it will not be the same number in the history table,
correct?
Thank you!

"Lynn Trapp" wrote:

Then you will need to add a history table that is linked one to many
to
your main table. You can then set the value to CurrentUser in the
AfterUpdate event of your data entry form.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
Store every person who modified the record.

Thank you for your help!

"Lynn Trapp" wrote:

Do you want to simply store the last person who modified the record
or
do
you want to store every person who modifies the record?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
Hello,
I was builiding a database for co-worker of mine.
I have a form with drop down box with usernames, Status and when
status
changes to "Complete" it automatically time stamps.
She wants to keep the history of who touched that record.
Is there anyway to concatenate username, status and time stamp to
another
column name "History" and keep adding to that every time that
record
is
touched by someone? For Example:.
Invoice # Invoice Date Username Status Time STamp
Hisotry
123 2/15/2005 JOE Complete
1:15pm
Joe
Complete 1:15

Smith Complete 2:35


Or can anyone recommend better solution for this? any help would
appreciate
it!
Thank you!












  #9  
Old May 24th, 2005, 03:43 PM
GEORGIA
external usenet poster
 
Posts: n/a
Default

Hi,
What code do i need to use to have it append only the record the user has
touched? I have created a append query, but this will append all the records
from the main table to history table.
THank you!

"Lynn Trapp" wrote:

Well, you can add the UserName to your field in the AfterUpdate event of
your form AND immediately append the record to another table with the same
structure -- a sort of archive table. This will effectively give you a
record of every user who has updated every record in your original table.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
yes, it is so difficult designing this database because there are no
unique
field. The system the team uses, you can key same invoice #, date, Amnt
and
Serial #'s. So when I pull a report and import into database, I can't set
the primary key(s). What would you suggest? Should I just not have the
history table added ?

"Lynn Trapp" wrote:

Uh Oh! Not a good deal. One of the most important reasons for having a
relational database is to avoid duplicate data. No, an AutoNumber field
won't work and, while it would allow you to create the link I discussed,
it
would not prevent the entry of duplicate invoice numbers and serial
numbers.
It would just hide their existence. If you need unique invoice numbers
and
serial numbers, then you will need to add something, like a unique index,
on
those fields to prevent that.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
problem i have is that the table don't have primary key because there
are
no
unique characters. for example: there are duplicate invoices #'s and
serial
#'s. I couldn't make anything as primary key. Adding autonumber will
now
work because it will not be the same number in the history table,
correct?
Thank you!

"Lynn Trapp" wrote:

Then you will need to add a history table that is linked one to many
to
your main table. You can then set the value to CurrentUser in the
AfterUpdate event of your data entry form.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
Store every person who modified the record.

Thank you for your help!

"Lynn Trapp" wrote:

Do you want to simply store the last person who modified the record
or
do
you want to store every person who modifies the record?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
Hello,
I was builiding a database for co-worker of mine.
I have a form with drop down box with usernames, Status and when
status
changes to "Complete" it automatically time stamps.
She wants to keep the history of who touched that record.
Is there anyway to concatenate username, status and time stamp to
another
column name "History" and keep adding to that every time that
record
is
touched by someone? For Example:.
Invoice # Invoice Date Username Status Time STamp
Hisotry
123 2/15/2005 JOE Complete
1:15pm
Joe
Complete 1:15

Smith Complete 2:35


Or can anyone recommend better solution for this? any help would
appreciate
it!
Thank you!













  #10  
Old May 24th, 2005, 04:03 PM
Lynn Trapp
external usenet poster
 
Posts: n/a
Default

Could you post the append query that you have?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
Hi,
What code do i need to use to have it append only the record the user has
touched? I have created a append query, but this will append all the
records
from the main table to history table.
THank you!

"Lynn Trapp" wrote:

Well, you can add the UserName to your field in the AfterUpdate event of
your form AND immediately append the record to another table with the
same
structure -- a sort of archive table. This will effectively give you a
record of every user who has updated every record in your original table.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
yes, it is so difficult designing this database because there are no
unique
field. The system the team uses, you can key same invoice #, date,
Amnt
and
Serial #'s. So when I pull a report and import into database, I can't
set
the primary key(s). What would you suggest? Should I just not have
the
history table added ?

"Lynn Trapp" wrote:

Uh Oh! Not a good deal. One of the most important reasons for having a
relational database is to avoid duplicate data. No, an AutoNumber
field
won't work and, while it would allow you to create the link I
discussed,
it
would not prevent the entry of duplicate invoice numbers and serial
numbers.
It would just hide their existence. If you need unique invoice numbers
and
serial numbers, then you will need to add something, like a unique
index,
on
those fields to prevent that.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
problem i have is that the table don't have primary key because
there
are
no
unique characters. for example: there are duplicate invoices #'s and
serial
#'s. I couldn't make anything as primary key. Adding autonumber
will
now
work because it will not be the same number in the history table,
correct?
Thank you!

"Lynn Trapp" wrote:

Then you will need to add a history table that is linked one to
many
to
your main table. You can then set the value to CurrentUser in the
AfterUpdate event of your data entry form.

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
Store every person who modified the record.

Thank you for your help!

"Lynn Trapp" wrote:

Do you want to simply store the last person who modified the
record
or
do
you want to store every person who modifies the record?

--
Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List:
www.ltcomputerdesigns.com/JCReferences.html


"GEORGIA" wrote in message
...
Hello,
I was builiding a database for co-worker of mine.
I have a form with drop down box with usernames, Status and
when
status
changes to "Complete" it automatically time stamps.
She wants to keep the history of who touched that record.
Is there anyway to concatenate username, status and time stamp
to
another
column name "History" and keep adding to that every time that
record
is
touched by someone? For Example:.
Invoice # Invoice Date Username Status Time
STamp
Hisotry
123 2/15/2005 JOE Complete
1:15pm
Joe
Complete 1:15

Smith Complete 2:35


Or can anyone recommend better solution for this? any help
would
appreciate
it!
Thank you!















 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrong user reported as having a file already open CPCA-IT General Discussions 1 December 1st, 2004 08:33 PM
Columns and layout problems Phil Setting Up & Running Reports 4 August 18th, 2004 01:34 PM
New User needs to Import old Outlook Express emails and addresses DougFromSydney Contacts 1 June 17th, 2004 05:32 PM
How many tracked changes can excel history hold? Fernando Setting up and Configuration 2 June 1st, 2004 05:06 PM
not installed for current user phil maida Setting up and Configuration 1 May 27th, 2004 07:11 AM


All times are GMT +1. The time now is 06:26 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.