Solved

MS Access 2007 / MS SharePoint:  “You can’t assign a value to this object.”

Posted on 2011-03-11
4
352 Views
Last Modified: 2012-08-13
I recently split my MS Access 2007 database using SharePoint as my back end and MS Access as my front end.  Initially, everything seemed to work perfectly; however, I have noticed that for some reason I am having problems with the records/forms locking.  For instance, I have a main form I use for entering information.  From that form I have a button that will open a secondary form which the user selects options, which are then entered into a textbox on the main.  I have done this a million times on MS Access, but since splitting the db for some reason I keep getting an error stating that “you can’t assign a value to this object.”

This is driving me insane.  Please help.

Thank you
0
Comment
Question by:cgraziano
  • 3
4 Comments
 
LVL 84
ID: 35110661
The error means exactly what it says. Can you determine what "object" the error refers to? What exactly is happening when you get the error? By that, I mean is the user clicking a button, entering text, etc etc.

FWIW, SharePoint is not really a great platform for Access (or any relational database for that matter). It's getting much better, and support for SP in Access 2010 is a HUGE improvement over 2007.
0
 

Accepted Solution

by:
cgraziano earned 0 total points
ID: 35110764
Thank.  To answer your question, I have a main form I use for entering information.  From that form I have a button that will open a secondary form which the user selects options.  The user then pushes a button on the secondary form, which then enters the information into a textbox on the main.  Thats when I get the error.  

I was just recently playing around and form and remembered the Record Locks property.  I changed the field from "Edited Records" to "No Locks".  This seems to have fixed the problem.
0
 

Author Comment

by:cgraziano
ID: 35212125
Thank you
0
 

Author Closing Comment

by:cgraziano
ID: 35239191
Changing the Records Lock property did the trick.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question