Recordset Locked

Aug 23, 2007

heh...... I went and did it now......

I created a new security group for a database, just for test purposes. It worked great, until the .mdw file got deleted by accident. I can log onto the default system.mdw file, but now I can't create any data access pages in which a new record can be created...... not even on a brand new database.

Say I create a new database, and make a table with one field. Then, I use the data access page wizard using that table, and create the page....... well, when I run it, it says it is a read only database. I've looked at permissions for admin under the default .mdw file and admin should have full access. Any ideas?

View Replies


ADVERTISEMENT

Query Recordset Is Locked

May 11, 2007

I have a database in which the tables are located in one MS Access file, and the queries, forms, reports, etc. are all located in a seperate MS Access file (MS Access 2003). The MS Access file that stores the tables, I call the "back end file".

I got a call regarding the database, and found that some how the back-end file got corrupted. When I want to open the file, I got the error...

"Database is not in a recognized format.... You must repair the file".

So I clicked "Yes" to compact and repair the back-end file, and the database worked correctly for me.

All except one query. I have a query that pulls in the main table of the database and then one of the subform queries. Linked on the main table primary key, it is a pretty simple query. This query has always been used to update data for the sub-form.

Today, after the compact and repair job, this query became a locked record set. I cannot add, edit or delete from the records in this query.

I can add, edit and delete from both the tables in the query, just not from the query itself. To make things even more strange, when I try to edit, I don't get the message at the bottom of the query stating "This recordset is locked".

I am just wondering if anyone has experienced this, and if there is something more trouble some brewing. If so, is there anyway to fix my query? Is my database back end file still corrupt (I have compact and repaired it since then). I even copied every table from the back-end file into a new MS Access database file, and I still get the same error with the query.

Very strange, and sort of a worry.

Let me know, and thank you for your time.

T.J.

View 4 Replies View Related

Modules & VBA :: How To Extract Recordset From Subform Into Recordset Object

Aug 14, 2015

Special situation: The SQL Server Linked Server across the country is linked to a Read Only Oracle DB. This data pull works perfectly and populates the Subform.

The problem is that Oracle can take 3 to 6 seconds to retrieve the single record depending on the network traffic through a small pipe.

The code below shows the RecordSource for the SubForm. clicking on a list box supplies the value. Then 3 to 6 seconds later, the subform populates.

The actual Recordset for this Recordsource is needed to conduct Validation on each field. Normally this would be on SQL Server, I might just create a Recordset Oject and run this SQL statement again in 1 milisecond. In this case, it will probably take an additional 3 to 6 seconds. Avoiding another lengthy round-trip to Oracle would be prefered.

Goal: How does one grab, clone, or other wise reference the existing recordset for the SubForm?

Note: Immediate Window - One single field can be returned quickly

There are 48 fields that need validation - is there a way to reference the entire recordset?

Immediate Window during Break Mode:
? me.fsubsrNavSHLBHL("NavSH_QQ")
NESE ' this is the correct value for the current recordsource

Set a breakpoint right after the line:
fsubsrNavSHLBHL.Form.RecordSource = "Select * from vsrNavigatorSHLBHL where Well_ID =" & txtNavWellID.Value

Immediate Window:
? me.fsubsrNavSHLBHL.Form.RecordSource
Select * from vsrNavigatorSHLBHL where Well_ID =91229

View 4 Replies View Related

Does A Filtered Mdb Recordset Still Bring Down The Whole Recordset?

Apr 27, 2007

Hi guys, I'm a bit confused: I know that opening a bound form will bring down the whole recordset. But if I create a parametered query as the recordsource, will it still bring down the whole recordset first and only afterwards cut down to the records matching the parameters?

Example: I have a clients table with 5000 clients on a backend mdb, and my client lookup form in my frontend mdb. If I open the form looking for just client "Jim Jones" (via the parameter query), will Access bring down all 5000 clients from the backend to my frontend first, and only then seek out "Jim Jones" before discarding the rest of the recordset?

For if this is true then this whole Access business is rather unsuited for networks, even a small one. I hope you guys prove me wrong.

Premy

View 14 Replies View Related

Modules & VBA :: Can Use Result Of One Recordset For Other Recordset

Jul 7, 2013

I want to write a email where there are 2 or 3 different ordernumbers for same email, i want to include the email in the mail part as single column table. how to do it? also can i use result of one recordset for other recordset?

View 1 Replies View Related

Create A Recordset From A Recordset

Aug 17, 2007

from a table with fields userID and Date (in which any userID has multiple records with different Date values, and other fields) i have built a select query based on Date = one specific value. can anyone give an explanation (for beginners), through a sample code, that expands the query recordset so that the new recordset includes all records per userID that qualified in the prior recordset? below is an example. thank you!

Table with records:
userID / Date
u1 / d1
u1 / d2
u2 / d1
u2 / d2
u3 / d2
...
1st Select Query (where Date = d1):
u1 / d1
u2 / d1

Desired 2nd Query based off 1st Query (where ?):
u1 / d1
u1 / d2
u2 / d1
u2 / d2

View 3 Replies View Related

Updating One Recordset Using Another Recordset?

Jan 21, 2015

I have two tables that have the exact same fields. In table1 I have records that need to be UPDATED into table2. I tried an Update query and out of 600 records only half of those got updated. In my update query I joined tbl1 and tbl2 by Location (LOC) I checked for Nulls, Blanks, spaces, you name it. I can't figure why they all didn't get updated. I created a SQL query and go the exact same results. Ideally, I would like to create something in VBA to do this. I do not have any forms linked to these tables. In all I have about 600 records and 15 different fields that need to be updated. My example is only for one field.

sql example below. Which is the Access Sql in the Query

sql = "UPDATE tbl2 INNER JOIN tbl1 ON tbl2.LOC = tbl2.LOC" & _
"SET tbl2.Name = tbl1!Name" & _
"WHERE (((tbl2.Name) Is Null));"

Example.

Table1
Field1.Names = John

Table2
Field1.Names = "Need to UPDATE the name 'John' here"

I tried the Recordset .EDIT but I couldn't get it to work using two tables.

View 4 Replies View Related

HELP!!! Locked Myself Out Of My Own Db!!

Jul 29, 2005

Hi

I know this sounds stupid but on my database with user-level security, i have somehow managed to remove administer rights from all users , and do not know how to change it back, if it is even possible.

I think what might have happened is it was stored on my USB drive and i switched computers and opened the db, would that have affected it? :confused:

Is there an easy way out of this or am i screwed? :eek:

thanks, ian :)

View 5 Replies View Related

Help!!! Locked Out

Aug 29, 2007

I have been following a text book to try and secure a database, i set up the Work Group Info File, allocated a password, now even when i want to start a completley new database i have to enter a password.........

AND when i set up the password i must have enetered it wrong now i am completely locked out!!


Is there any way to fix this i cant do anything!! I cant even start on a completely new databse!!

Please help

View 8 Replies View Related

Locked Out Of My Databse

Jul 12, 2005

undefined

Hi, can anyone help? Like an idiot I veered away from my intention to put a password on an Access database which holds only a table and a few queries and explored other security options. I now cannot get in to the database at all and get a message telling me that I do not have the necessary acces srights and to consult my administrator. When I look at the properties, I am shown as the administrator, which makes sense but despite trying various, desperate things, I cannot get back in to take the security off. Needless to say I did not create a copy first, so have learned a lesson the hard way. Any advice gratefully received.

View 3 Replies View Related

Locked Database

Jul 22, 2005

i have this database with tables i can't access, so i had to import the data into a new database , given the size of the new database JoeCruse (form this board) pointed out that it could be that the front end is separated form the back end. and i can't find the front end anywhere

i want to press F11 and see the tables and so forth open up when i launch the original db. how do i go about doing that.

View 2 Replies View Related

Locked Out Of Access

Oct 10, 2005

:eek: security levels were set on a database using the wizard, unfortunately the person who set the security did not print out the sheets with the WID etc on it, this person is now unable to open access at all from their pc it asks for a password which the user does not believe they set or if they did set one it was their standard pc log in, however the database and access can be opened from any other pc on the network......can anyone out their help...thanks

View 2 Replies View Related

MDE Files - Locked?

Mar 12, 2007

Are all mde files locked so that you cannot edit or see design view for forms etc?

Are there any tools out there that can unlock an mde database?

Thanks,

Dave

View 1 Replies View Related

Database Locked Up NEED HELP

Apr 18, 2007

I have a database that I password protected. Somehow, in the process of applying the password, the file became corrupted and now I am getting the following error message:

"This database is in an unexpected stat; Microsoft Office Access can't open it.

This database has been converted from a prior version of Microsoft Office Access by using the DAO CompactDatabase method instead of the Convert Database command on the Tools menu (Database Utilities submenu). This has left the database in a partially converted state."

Does anyone know what this error is and how I can retrieve my data?? I have tried to import the files into a new database, convert the database into a different version and compact and repair. Nothing has worked. I have looked into recovery tools and two of them do get me into the database and let me see some of the data, however, the programs are holding my information hostage until I purchase the software which is running around $300.00. Any ideas???

View 6 Replies View Related

Could Not Update. Currently Locked

Jul 3, 2007

I recently split my database and created an MDE file. Users were given a copy of the MDE file and the BE is in a shared directory on a server. There are only two users at this point in time inputting data into the database (there will be at least a dozen more in the near future), but every so often one of them experiences being unable to input data from their Form because of this lock condition. Sometimes the condition will go away (if they wait long enough) and they can input data again. Sometimes it's User A experiencing the lock, sometimes it's User B. I thought splitting would alleviate lock issues, but it doesn't seem to be the case for me. Could this be a "permissions" issue on the shared directory where the BE is located or some security setting within Access (or both)?

Thanks in advance for everyones help!
Michael

View 2 Replies View Related

Locked Out Of Access

Nov 3, 2007

I copied Odun's post below to describe my problem. I'm having the same problem. I can't even creat a new blank database without being prompted for my user name and password, which aren't working.

Any suggestions would be very much appreciated.

Thanks,
Mike

-------------------------------------------------------------------------
#1 02-13-2006, 04:33 AM
odun
Registered User Join Date: Apr 2005
Posts: 108


can't log on to database

Hi all,
I was playing with passwords for one of my access db.
I tried opening the db with the password, but it won't work. So, I thought I forgot the password. I checked some posts on this forum that helped in retrieving the password and it's the same that I have been trying. I am not sure if the Name is correct, is there a way to retrieve the log on name?

I also noticed that when I try opening any other db on my system, it asks me to log on, I though I was only applying a password to one file.

Please help

Thanks!

odun
View Public Profile
Send a private message to odun
Find all posts by odun
Add odun to Your Buddy List
--------------------------------------------------------------------------

View 1 Replies View Related

Locked Myself Out Of Access

Nov 26, 2007

Hi

Is there anyway of returning the menus that I removed from the Tools > Startup options back?
It looks like I have locked myself out of my FE!!!!

Thanks,
B

View 6 Replies View Related

Locked Myself Out Of Access

Dec 11, 2007

Hello out!!

Is a moment of desperation! I created a security group or something (dont know what i was thinking!), and now there is no way to get into my application!!!! It says to contact with the administrator, but I'M the administrator!!!!

Any way to get the scripts minimun from the applications?? The classes, the modules??? God!!!! My last backup was 4 days ago!!!! I can't loose everything!!

Message:
you do not have the necessary permission to use myapplication.


:confused::confused::confused::confused::confused: :confused:

View 2 Replies View Related

Could Not Update Currently Locked

Dec 21, 2007

I have two db's a front end and a back end db. One of my users recently got this error "Could not update currently locked" Access "3218". I have a form tied to a table. She changed a drop down that puts an ID in the table row and the error occurred. This has never happend before and the locking is set to "No Lock". She swears nobody else was in that specific form either. How does this error occur out of no where? I did add 3 new columns to that table for a total of 30 columns. The front end is local and the back end is on a shared drive. Honestly if anyone can help I would be so so greatful. There is no code used to update this row in the table. As soon as she hits the drop down the new row is created in the table.

Thank You
Jerry

View 1 Replies View Related

HELP...security Has Locked Me Out

Feb 28, 2008

Hi there

I really hope someone can help me.

I used a test database to work on security. I didn't think it would effect other databases. Now I've locked myself out and can't open any databases. I keep getting asked my logon and password for ALL databases.

What can I do? I don't understand why it's effecting me using all databases. Everytime I type a username and what I believe to be the correct Password it wont let me in

Help...

View 14 Replies View Related

Account Locked Out

Feb 28, 2008

Afternoon all,

I have another account on this forum - dickohead, but I am unable to post or reply to any topics with it.

Can someone please help me with this?

Dickohead.

View 3 Replies View Related

Could Not Update; Currently Locked

Mar 24, 2008

I have a quick question. I have a database that is split into the front end and the back end. The back end is stored on a network drive and the front end is housed on several different employees' hard drives. It was my understanding that splitting the database would prevent messages such as "Could Not Update; Currently Locked". However, I am still receiving this message. Is there something that I can do to prevent this error from occuring?

View 6 Replies View Related

Locked Table

Apr 13, 2005

Hi I have a problem with my access table - I am seeing the following error even though I am using this in a single user environment, don't have the dreaded .ldb file present and do not have anything else open!

'A query or form bound to the table is open, you do not have permission to open this table in design view, or another user has this table open'

Help! :eek:

View 1 Replies View Related

Locked Form

Mar 17, 2005

i have an access database in lan and when 2 users are working in the same form and in different record the record will be locked
ex if the first user is changing the date in the fist record the second user cant change another record
http://briefcase.pathfinder.gr/download/adi32/2976/399219/0/test.zip
to check open together the forms table1 table1b and try to change two different records
thank you

View 3 Replies View Related

Locked/unlocked

Jun 13, 2005

I have 4 yes/no check boxes on a form. There are 4 other text fields with each one of these main yes/no check boxes. One of these yes/no checkboxes will be checked on each form created.

-------------------------------------------------------------------------------------------
StaPrimary FirstName LastName VerifyDate ReVerifyDate

StaUp FirstName LastName VerifyDate ReVerifyDate

StaBack FirstName LastName VerifyDate ReVerifyDate

StaOther FirstName LastName VerifyDate ReVerifyDate
-------------------------------------------------------------------------------------------

For each new form created I want all 4 checkboxes and its corresponding 4 fields unlocked/enabled.

When any one of the 4 main checkboxes is true, I want the other three and and the 4 text fields that go with them locked and/or disabled.

When I page back and forth between forms I want each form to have the appropriate fields locked/unlocked and or disabled/enabled depending on which main yes/no check box is checked.

I had presented this issue in the past and was never able to solve the issue.

Thanks for any help.

View 1 Replies View Related

Fields Locked

Feb 13, 2006

I do not get this, can anyone come up with an idea or area that I could look into. There were fields that the sales reps could write notes into, they are not able to type in these fields anymore. I had a back up copy of the DB prior to this event happeneing. I compared the field in design view and all the values are exactly the same. But the Prior version I can still type in, the newly updated version I can't.

I tried copying the field from the DB where it worked and pasting it where the one not working was, and that didn't work. So, I got to believe there is a GLOBAL lock somewhere available. Unfortnately, the books I have do not discuss this situation at all.

Does anyone have any ideas...I have to think this is an easy fix, but I can't figure it out.

Thanks!

View 7 Replies View Related







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