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 Replies
ADVERTISEMENT
Feb 26, 2007
i am using access against an Oracle DB through an ODBC driver, and when appending records to a local table, if access gets an Oracle record error "#deleted", the append query aborts. . . that's fine, but I can't figure out how to trap the error to get the rest of the records. . .
ugh! see attached graphic
thanks
sportsguy
View 3 Replies
View Related
Jan 10, 2013
we have Oracle 11g as main database and for viewing purpose, we have created an mdb (Access 2007) using Link tables via ODBC connection (system DSN).While querying, count queries are working fine with accurate record counts but, all select queries are not working fine. It filters and displays with wrong records. There is no issue in query building.how to get correct records through odbc connection to Oracle database.
View 3 Replies
View Related
Dec 19, 2007
Hello,
I am an Oracle DBA with little to no Access experience so please be kind. :D
As of yesterday a frequent user of Access 2003 (11.8166.8172) SP3 reported that all columns in all rows have the value #Deleted in a number of tables linked back to an Oracle database.
I am not experiencing this problem but I have Access 2007. It is not an option for this user to upgrade.
I've discovered several issues over the web with data type issues/ characterset issues but nothing seems to fix the problem. I've tried the Oracle supplied 11g and 10g ODBC drivers. I've tried the Microsoft supplied ODBC for Oracle drivers.
None of it seems to work and I am out of ideas. Can anyone suggest anything?
The problem wasn't noticed until yesterday so it can't have been happening for long. The problem is occuring in Oracle 10.2.0.3 and 10.2.0.1 databases. There has been no change in the Oracle environment.
There was a windows update recently but we tried uninstalling that and it didn't help.
any ideas?
View 5 Replies
View Related
Apr 19, 2006
Hi, I have a front end that i have developed in access which manipulates a table stored in an oracle database. I have an ODBC connection to the oracle table.
When i open the access front end i am confronted with the
Oracle ODBC Driver Connect and am promted for username, service name and password.
My question is... Can I in any way take what is inputted into the driver connect for username and password.
For example to deactivate/activate some command buttons depending on the username that is inputted
Can anything like this be done or is this driver connect a totally individual thing?
Thanks
View 1 Replies
View Related
Jun 12, 2006
Hello Guy,
We use an Oracle base software called Trapeze and Microsoft Access sometime used as a front hand to access the Trapeze oracle tables.
Due to the possible dangers of allowing the users Access, Is there a way to block the users access to Administrative Tools, to create ODBC connectivity to our databases? Trapeze's security is antiquated and uses Oracle to validate accessibility. Since a user has to be created in Oracle, with update, delete, read, write, append rights, for Trapeze to work correctly, a user can connect directly to the Db through Access and make changes directly to the data, unless the ability to prevent them from creating their own ODBC connections.".
Any ideas on how to prevent them to create that ODBC connection?Thank for your help.
View 9 Replies
View Related
Aug 22, 2006
I have a Acces 2000 front end that links to an Oracle 9i back end. Everytime i open a form/table the ODBC dialog box appears asking for username/password/server. Is there a way to bypass this using vba code so that when the Access app starts the connection is established behind the scenes and therefore preventing the dialog box appearing.
View 3 Replies
View Related
Dec 15, 2006
Hello again
I’m trying to understand why I’m getting the message below and how I can fix it.
This happens when ever I try to run a larger qry, and it pops up within a minute.
Any help would be very much appreciated
OBDC –call failed
[Oracle][ODBC][Ora][ORA-01013: user requested cancel of current operation (#1013)
Thank you
Corey
View 2 Replies
View Related
Mar 22, 2007
I'm using the following tools/systems:
* Oracle 9i Enterprise Edition Release 9.2.0.5.0
* Microsoft Access 2002
* Access is running on a XP Professional desktop
What I'm doing at the moment is:
* Linking the Oracle tables in Access via ODBC
* Using Access to run develop & run queries against the linked Oracle tables
What I'm trying to figure out:
* What is the easiest way to export the query results to a local (on my machine) Access table?
Some of the queries return < 65000 rows, so I can export to excel & import the excel file back into access. Unfortunately this doesn't work for the bigger queries.
Suggestions?
View 5 Replies
View Related
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
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
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
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
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 3 Replies
View Related
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
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
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
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
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
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
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
May 25, 2007
Hi,
I have a lot data to append to ODBC linked table in MS Access. I want to know that which way is faster to append the records.
if I append the data into ODBC linked table,
1) create the one query (append) to insert the records into ODBC linked table
2) use the VBA code (DAO/ADO) to insert the records into ODBC linked table
which way is rather faster?
View 1 Replies
View Related
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
Apr 19, 2006
Oracle Express Edition, DB2 Express Edition-C, and SQL Server Express Edition.Which one would you develop for / work with if you had a choice (SQL Server, Oracle, or DB2)?I am thinking of making a database application with one of the above and the criteria is:Great support, communityRock Solid and stable; where some clients do not have a DBAFastEasy to back-up and restoreRelatively easy to program and developEasy to deploy and scaleThe general direction I am getting from a few people is leaning toward SQL Server Express. They say it is easier to work with than Oracle, (supposedly Oracle is not for the faint hearted especially when there are network issues) but Oracle is faster and maybe more stable than the others. Haven't really heard anything about DB2...MySQL is out, simply because of the price of an OEM for a desktop application that can be expanded later is too high for what I want to do.Thoughts?Thanks
View 1 Replies
View Related
Jun 9, 2006
I donot have much information at this time, but siiting in an Oracle fusion meeting, the Oracle reps mentioned they have a product to compete with MSAccess. Of course it runs on Oracle instead. They said Oracle had to come with a competing product because to many Access databases turn into Sql Server databases.
That is about all the info. I have right now on this. Thought it an interesting subject however.
View 6 Replies
View Related
Mar 7, 2007
Hi,
I know (and use) the code for using a DSN already setup on a user's PC.
But, does anyone know how do it it without the DSN alredy setup in VBA to an Oracle db?
Many thanks.
View 2 Replies
View Related