Tracking Deleted Records

Mar 29, 2014

How to track deleted records? I have a database that users login to and it tracks which records they make changes to but I do not have a way to track a deleted record. I read online about doing like an archive of the record to a table that will hold the deleted record and that made the most sense to me.

View Replies


ADVERTISEMENT

Records Deleted

Feb 13, 2006

I enter records into MS Access and then when I close it and reopen it, every once in awhile records that I entered previously are deleted. I am new to Access so it may be a simple problem such as saving the database but it is extremely frusturating when I enter customers into a database and then reopen it to find out voila half the customers I entered are not there. If anyone can help me it would be really appreciated. Thank you.

View 1 Replies View Related

How To Get Deleted Records?

Mar 6, 2007

Hi everyone
I have a problem that I have deleted some records from a table in my database and now after one week I need these records again. Can someone tell me how to get them?

View 1 Replies View Related

Records Getting Deleted

Feb 16, 2005

This has got me stumped.

We have a massive db and on one of the screens the users can scroll through the records and view information they can also add new records. When the users enter the new record and go back to it it has been successfully stored in the relevant table even on exitin the form via the exit button (DoCmd.Close). However from time to time when the user enters the new record and closes the for via the close form button the new entry is not stored in the table and seems to have been deleted or not appended to the table.

We have no idea why this is happening as it doesnt happen all the time just from time to time.

Can anyone help please or has anyone come across this before !

Thanks for any help !

View 1 Replies View Related

Recovering Deleted Records

Nov 29, 2006

can anyone please help me out with suggestions of how to recover records that have been deleted accidentally. :eek: thanks.

View 1 Replies View Related

Deleted All Records From A Table - Cannot Add New Ones?

Apr 12, 2013

I created a simple database with a single table and a form so I can track patients enrolled in a study. I added a few test records to make sure everything was working properly. Now I'm ready to use the database for real. Only trouble is, when I erased the test records I find that I can't add new ones.

View 1 Replies View Related

Queries :: Tracking Database - Retrieve Top 100 Records

Jul 24, 2013

I am working on a project where I am creating a database that tracks open orders (old and new orders that still need to be billed but haven't been billed for one reason or another).

I have my "Master" table built and now I need to create 2 queries, one query retrieves the Top 20 orders based on value and that are older then 30 days and the second query is to retrieve the Top 100 orders based on the same criteria but the Top 100 query should not include the orders that appear in the Top 20 query.

My Top 20 query is below

SELECT TOP 20 MASTER.COMBO, MASTER.[Customer Name], MASTER.Status, MASTER.CCD, MASTER.Area, MASTER.[Order Type], MASTER.[Order Value], MASTER.AGE, MASTER.ANALYST, MASTER.COMMENTS
FROM MASTER
WHERE (((MASTER.AGE)>=30))
ORDER BY MASTER.[Order Value] DESC , MASTER.AGE;

I have tried multiple ways to do the Top 100 query and exclude what is returned in my Top 20 query but so far no success.

View 10 Replies View Related

Excluding Deleted Records From An Imported Table

Jun 6, 2007

Hi

I have a table that I am importing from FOXPRO DATABASE. When someone goes into the system and deletes a record, Foxpro does not really delete the records but marks it for deletion. There is no field to query on that I can see in the table, but when I go to Foxpro the record is "marked" for deletion.

Anyway to exclude these records when doing a query or importing the table?

Thanks

View 1 Replies View Related

Modules & VBA :: Tracking Form - Code Does Not Review All Subform Records

Jun 5, 2013

I'm having some problems with VBA code I'm writing that references a subform. I'm pretty new to VBA and am not sure what the problem could be. The parent form (TrackingForm) tracks dates different tasks were completed. The subform (Child2) tracks exceptions that also need to be marked completed. I need ALL dates to be marked as completed before the entire tracking record can be marked as completed.

I have the following code entered into the OnFocus event of the tracking records Me.Completed_Date field:

Private Sub Completed_Date_GotFocus()
If IsNull(Closing_Date) Or IsNull(Package_Received) _
Or IsNull(Upload_By) Or IsNull(Initial_Review_Date) _
Or IsNull(Me.Child2.Form![Date Exception Completed]) Then
Me.Completed_Date.Locked = True
MsgBox "Completed Date cannot be entered - outstanding items.", vbOKOnly, "Warning!"
Else: Me.Completed_Date.Locked = False
End If
End Sub

What ends up happening is that, if there is more than one exception record on Child2, the code only seems to care if one of the records (usually the first record) has something entered in the [Date Exception Completed] field. I can't seem to make it look at any successive records in Child2 to ensure they are also completed prior to unlocking the Me.Date_Completed field. I have googled this extensively over the last day and the only response that seems to recur involves using a Recordset function that I have never used and am unsure how to.

View 4 Replies View Related

General :: Records Being Deleted In A Related Table When Not Supposed To

Jun 13, 2014

I am losing records in one table when I delete from another, i.e., I do want to delete records in one, but the related records in the other are also being deleted. This was not happening until I did a recent up date.I created a database in Access 2002 about 8 years ago and my client has been using it successfully ever since. I have occasionally made updates and enhancements. They have over the years upgraded and are now on Office 2010. I'm still using Access 2002.

I recently (3 weeks ago) added a new feature and installed the new code. The database is split, code and data. The new feature was working well, but suddenly they were losing records and they cannot operate until I have it resolved. I spent 2 hours today in their office and could not work out why it was happening.

I have a straight forward client table with names and addresses and some other information. I have another table which links together Clients, Counsellors and Supervisors and works out a room allocation for Therapy sessions. Once the Therapy sessions have been completed, we need to delete the Client, Counsellor, Supervisor + room allocation, but we do not want to delete the Client record in the Client table. The User is offered the opportunity to either archive the client record or not archive it, that's all. The Archive procedure is simply to put a tick in the "Archive" field, not delete the record.

However, when the Client, Counsellor, Supervisor + room allocation is deleted, it is also removing the Client record. I do have a relationship between Clients, Counsellor, Supervisor, but it doesn't have "enforce referential integrity", it is just a one-to-one relationship. The odd thing is that when I delete the allocation here at home on my Access 2002 system, it does not delete the Client Record, but it does in their office, using exactly the same code and data.

The Allocation is on a sub form and the way they delete is by highlighting the Allocation and then clicking on the X - Delete button on the Access menu (the program is not very sophisticated, but has worked until now). I have some code in the "on delete" event, but even if I take out all the code and just allow the deletion with the usual Access message "you are about to delete 1 record... " I have seen that the related Client record gets deleted at the same time. it does not happen on my system, only in their office.

View 14 Replies View Related

General :: Import Error - Deleted And Lost Records

Jun 3, 2013

I'm getting an import error that records are being 3 records being deleted and one lost due to violations. However when I go back to check the data that was imported I can't find anything missing. Any clues on what could cause the error but still import the data.

View 1 Replies View Related

Listbox/Search Isnt Removing Still Displays Deleted Records

Jun 21, 2005

i have a form porblem. I have a search form embedded onto my main form its really a listbox that when i click the records in it they display the record.

prob;em is that when i delete the record it still shows in the listbox

View 1 Replies View Related

Queries :: Tracking Time Spent On Customers Records Based On Date Of Entry

Apr 17, 2014

I have two tables, One table containes customer name, etc., tblcustomers the other table contains the tbltimelog, log of activity start time end time. No issues. I want to generate a form based on the dateofentry for the time record. I am not able to get a summary lets say I spent 20 hours on ABC and 20 hours on CBS. If I spent 3 different days on ABC and 6 different days on CBS it will not add them together it will list it ABC 3 times and CBS 6 times. I have tried the distinct function but it doesn't work because the date is distinct. Is there a way to do this as an SQL or whatever. Thinking I could just create a new table and calculating the totals but that seems to be a waste.

View 3 Replies View Related

Tables :: Record Cannot Be Deleted Or Changed Because Table Include Related Records

Oct 16, 2012

Three tables:

Employee, Sessions, EmployeeSessions.

Many sessions can have many employees - thus the joining table has been included.

When trying to delete an employee from the database using a form, I encounter the error:

The record cannot be deleted or changed because table 'tblEmployeeSessions' includes related records

Is there a problem with my table relationship structure? Or is it 'correct' that as the employee is supervising a session he/she cannot be deleted as this would interfere and maybe mess up the session record?

View 2 Replies View Related

General :: Audit Trail - Capture Occurrences When Multiple Records Selected To Be Deleted

Jan 15, 2013

I've always used an audit trail for tracking changes of records that already exist but I have had a situation come up where I now need to track records that have been deleted. For example, if I delete a record in the datasheet view.

I've seen several examples how to do this, with the most common seeming to store the data into a temporary table while waiting for the delete confirmation. If I am reading the notes correctly, it's done this way to capture occurrences when multiple records are selected to be deleted. Is this the best approach for this type of task?

View 1 Replies View Related

A97 ODBC To Oracle - All Records "#Deleted"

Oct 13, 2006

Hi All,

I'm having a strange problem happening here - I am using DSN / ODBC linked tables in AC97 to an oracle back end DB. Some tables open up fine, however for some other tables (on the same Oracle DB) when they open, AC97 displays all records as "#Deleted". They quite simply can't actually be deleted.

I also have ACXP on the same PC, so I converted a copy of the Access FE to XP, and using that converted copy, the offending tables open OK. Problem being almost all of my colleagues only have AC97 - so I really need it to work with that.

I searched the forum and read a (not so recent) post (http://www.access-programmers.co.uk/forums/showthread.php?t=44158) where a user described having a similar problem with DB2 tables, to which Pat Hartman suggested using the Linked Table Manager add-in to re-link the tables. I tried this on the AC97 DB, but the result is the same.

Can anyone help with this, or suggest anything worth trying?

NB: I am total novice with Oracle.

Thanks

John.

View 1 Replies View Related

Tables :: Deleted Records In One-to-one Tables

Apr 25, 2014

My db includes two tables, Employees and Users, both with a pk of EmpNum (Autonumber in Employees; Number in Users). Users is a subset of Employees, and in the Users table, the row source for EmpNum is a query of the Employees table. I had a relationship defined with a one-to-one between the two tables, but did not have Enforce Referential Integrity or Cascade selected.

The problem is, I deleted a record out of Users, but it also automatically deleted the related Employees record. Re-creating the employee was quite the task because all related records in several other tables also disappeared. I experimented by deleting the relationship between the two tables and then deleting another user, but it still deleted the related employee. How can this be? The two tables are no longer linked, other than the Users EmpNum lookup.

View 6 Replies View Related

Training Tracking

Sep 1, 2006

Does anyone have a sample training tracking system / database they'd be willing to share?

Or, barring that, can someone point me in the direction of where I might find one?

Thanks in advance! Looking forward to it!

View 3 Replies View Related

Tracking Training

Sep 12, 2006

Does anyone have a sample training tracking system / database they'd be willing to share?

Or, barring that, can someone point me in the direction of where I might find one?

Bee replied once, suggesting I look in the Samples Databases section of this forum, but I could not find anything even remotely related there.

All replies are gretly appreciated!!

View 5 Replies View Related

Tracking Training

Jan 4, 2007

I have a DB I'm using to track training for assigned people. Right now the training gets put in the DB at the end of the day by going through each persons record and adding the training that they did for the day. As you can see when training 30+ people a day, putting this in the system can take awhile. I'm trying to find a way to do a mass input to cut down time and could use some help with this.

My tbls are as such,

1st Table:EMPLOYEEtbl
EmployeeID
EmployeeName
(Other information)

2nd Table:CLASStbl
className
classID

3rd Table:CompleteClasstbl
EmployeeID
classID
DateTaken

What I like to do at the end of the is select the ClassID/DateTaken items once and then type in a just the 30+ list of employeeID's click a button and append it to the my 3rd table. Of course writing it out like this makes me think it should be easy but for some reason I'm lost. Does anybody have any suggestions?

View 5 Replies View Related

Equipment Tracking Db

Dec 31, 2007

I need help finding an existing or making a db. This db does not have much to it, so I am getting frustrated finding/making one.

My company has equipment that is stored in one of three places, customers, trucks of employees, and other(like warehouse, or out for repair). The db should be able to give me a report of where everything is on a given day, and a report of what was in a given customers property during the job(this is not for a single day, but for the duration of the job).

If someone knows of an existing db like this, I would appreciate a link. If you want to help, it is appreciated. At this point I would not mind paying someone to do this for me, as long as it wont cost too much.

View 9 Replies View Related

Tracking Synchronization

Jan 25, 2008

Is there any way in access 2003 or 07 to track when a database was last synchronized with any one of it's replicas?

It would be useful to know and be able to store this in a table.

View 4 Replies View Related

Bug Tracking Solution

Feb 12, 2008

Hi,I'm looking for a bug/issue tracking solution done entirely in MS Access. Does such a thing exist?My requirements are that it must need only Access, and be accessible in a shared environment solely by opening a .mdb file from a shared folder. It must support various issue lifecycle related things, and the stuff those tracking systems do in general.It may or may not be commercial software.If anyone knows of such an available solution, please let me know.(And yes, I've searched on Google, and haven't found anything worthwile, so that's why I'm asking here now.)thx

View 5 Replies View Related

Need Better Tracking With My Tables

Oct 19, 2005

I have a DB thats working fine, but (there always is a but) I now need to do something a little bit different. I need to be able to track my originators and who they have brought into the company. So I will have an originator and many down-line originators, and these people that come in down-line will have people coming in down-line from them and so forth and so on. I have a table that has all originator info and originatorID, but will I need another table or can I just add to the exisisting one. Here is the table structure:

‎Originators:
-------------
OriginatorID -autoNumber
FirstName - Text
LastName- Text
OrigSSN- Text
Address- Text
City- Text
State- Text
PostalCode- Text
HomePhone- Text
WorkPhone- Text
CellPhone- Text
FaxPhone- Text
EmailName- Text
BirthDate- Date/time
Level- Text


If more info is needed please let me Know.. Thanks in advance.

Scott

View 4 Replies View Related

Tracking Changes To Database

Mar 26, 2008

Is there a way to track changes made by different users to access tables? For instance if several users update or change data in various records is there a way to track when and what was changed (before and after data)?

View 1 Replies View Related

Tracking Updates

Sep 22, 2006

I have read all of the audit trail stuff and searched on my subject but I think my solution could be simpler,

All I want to do is copy the values of the current record on my form into a history table with all the same fields.

Example Form:
[ID], [Machine], [Task], [Task Due], [Task Complete]
I want to put a button on the form that reads complete task and when the user pushes the button it copies all of the details for that specific record they are looking at into my History Table that contains all of the same fields.

This will give me basic history on when each task was completed for a machine and I can access for reporting

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved