473,324 Members | 2,400 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,324 software developers and data experts.

Recently edited records

Hello All

Can you please help me with a problem, I'm only looking for a starting point
as I am a long way from even knowing exactly what I want to do. Here's the
basics anyway, any help much appreciated.

I have a database table containing a schedule, Dates, Locations, Who, Job
Details etc.This information can be entered in a variety of ways, via forms,
queries, and directly into the table. Records can be edited, added or
deleted as the plan changes.

I would like to be able to run a query that lists all the changes made to
the table since a certain date and time. (i.e. list all the records that
have been deleted, added or changed since yesterday)

I have a feeling that I may have to change the way we enter data so that it
is always in a form, thus enabling a way of coding actions when items are
changed, deleted or added ? Also I imagine this code would in fact be
populating a new table with the changes so that deleted record information
can be copied to it? But though I would check first to see if I am
reinventing a wheel that Bill has already built in to the guts of access?
Regards
Steve

Nov 12 '05 #1
1 1706
"Steve Lilley" <st******@nospam.hotmail.com> wrote in message news:<xm*****************@news.cpqcorp.net>...
Hello All

Can you please help me with a problem, I'm only looking for a starting point
as I am a long way from even knowing exactly what I want to do. Here's the
basics anyway, any help much appreciated.

I have a database table containing a schedule, Dates, Locations, Who, Job
Details etc.This information can be entered in a variety of ways, via forms,
queries, and directly into the table. Records can be edited, added or
deleted as the plan changes.

I would like to be able to run a query that lists all the changes made to
the table since a certain date and time. (i.e. list all the records that
have been deleted, added or changed since yesterday)

I have a feeling that I may have to change the way we enter data so that it
is always in a form, thus enabling a way of coding actions when items are
changed, deleted or added ? Also I imagine this code would in fact be
populating a new table with the changes so that deleted record information
can be copied to it? But though I would check first to see if I am
reinventing a wheel that Bill has already built in to the guts of access?
Regards
Steve


Steve,
yes, you'll have to disallow users direct access to tables, and
probably action queries too. Then you'll have to write to a log table
before your events do anything. I think Allen Browne has code for it
on his website. It's like "event Logger" or something.
HTH,
Pieter
Nov 12 '05 #2

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

Similar topics

2
by: Ben | last post by:
I have looked around for this but I seem to be missing something. I have a forum based on a query that brings display some table info in tabular form. What I would like to do is prevent the user...
2
by: Scott | last post by:
In my database, I have a form with a subform. I had everything working correctly - the correct records would display on the subform for each record on the form. I could edit, add, and delete on the...
0
by: ethanj /personal/ | last post by:
We are using Access 2000 database, with the following settings. Tool > Options > Advance > Default Record Locking = Edited Record Open databases using record level locking = True Form...
2
by: cbremar | last post by:
Is there a way to do this. Currently, you can have multiple users editing the same record and not until they try to save it does it tell you that the record is being edited by another person. I...
6
by: AA Arens | last post by:
Hi, I have a database with 2 main forms. Contacts and companies. I share the base with two others via LAN. On the companies form I have buttons to navigate throught the records (>400). We are...
1
by: JA | last post by:
Hi, I asked this in an MS Access newsgroup, but no one has answered. Since it also applies to SQL Server, maybe someone in here has an answer? I actually do have the same problem in both SQL...
5
by: DanThMan | last post by:
The situation: * I have a ButtonColumn in a DataGridView. * When the user preses one of the buttons, a dialog appears. * Based on what the user selects in the dialog, data is entered...
9
by: =?Utf-8?B?UHJhdmlu?= | last post by:
We are using .net Framework 1.1 We are having one page on which we are using this Grid component. From this page we open a popup for adding new record as well as for editing an existing record...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.