A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Editing or adding records in a form



 
 
Thread Tools Display Modes
  #1  
Old November 3rd, 2004, 05:13 PM
tiz
external usenet poster
 
Posts: n/a
Default Editing or adding records in a form

I created a form to input data into several different tables. I am unable to
add new records in the form view. I cannot even edit records in the form.
Whenever I'm in the form view and try to edit a record it seems as if it were
locked. I have checked the properties of the form about ten times now, Allow
Edits is Yes,
Allow Deletions is Yes, Allow Additions is Yes. Record Locks is on No Locks.
Recordset Type is Dynaset, etc. Can somebody help me?

Thanks,
tiz

  #2  
Old November 4th, 2004, 04:58 AM
ChrisJ
external usenet poster
 
Posts: n/a
Default

Presuming the form is bound to a query, it is likely that the query is not
updatable.

Paste the SQL for the form's recordsource into a query window and see if you
can update that.

"tiz" wrote:

I created a form to input data into several different tables. I am unable to
add new records in the form view. I cannot even edit records in the form.
Whenever I'm in the form view and try to edit a record it seems as if it were
locked. I have checked the properties of the form about ten times now, Allow
Edits is Yes,
Allow Deletions is Yes, Allow Additions is Yes. Record Locks is on No Locks.
Recordset Type is Dynaset, etc. Can somebody help me?

Thanks,
tiz

  #3  
Old November 9th, 2004, 01:53 PM
tiz
external usenet poster
 
Posts: n/a
Default

I checked the form's record source and it is not updatable. How can I change
the recordsource's property to make it updatable?


  #4  
Old November 9th, 2004, 07:23 PM
ChrisJ
external usenet poster
 
Posts: n/a
Default

You can't. If Access decides the query is not updateable, you're stuck with it.
However, if you post the SQL of the recordsource query, we may be able to
suggest a way to help you achieve what you want.

"ChrisJ" wrote:

Presuming the form is bound to a query, it is likely that the query is not
updatable.

Paste the SQL for the form's recordsource into a query window and see if you
can update that.

"tiz" wrote:

I created a form to input data into several different tables. I am unable to
add new records in the form view. I cannot even edit records in the form.
Whenever I'm in the form view and try to edit a record it seems as if it were
locked. I have checked the properties of the form about ten times now, Allow
Edits is Yes,
Allow Deletions is Yes, Allow Additions is Yes. Record Locks is on No Locks.
Recordset Type is Dynaset, etc. Can somebody help me?

Thanks,
tiz

  #5  
Old November 24th, 2004, 05:45 AM
James
external usenet poster
 
Posts: n/a
Default

Hi: ChrisJ

I have same problem.

My front end form using a query and gets data from two tables, the tables
are located in another computer (Access tables).

Before, this form can add new record, Edit..., but today, all my staff
(including me) the form just can't do that, even set Edit is true.

If I go to open the tables in the back end, I can add new record (there is a
* indicating add new), but if I run the query from my front end, I just can't
add new record. (there is no * indicting add new).

Please let me how to solve this problem.

Thanks.

James

"ChrisJ" wrote:

You can't. If Access decides the query is not updateable, you're stuck with it.
However, if you post the SQL of the recordsource query, we may be able to
suggest a way to help you achieve what you want.

"ChrisJ" wrote:

Presuming the form is bound to a query, it is likely that the query is not
updatable.

Paste the SQL for the form's recordsource into a query window and see if you
can update that.

"tiz" wrote:

I created a form to input data into several different tables. I am unable to
add new records in the form view. I cannot even edit records in the form.
Whenever I'm in the form view and try to edit a record it seems as if it were
locked. I have checked the properties of the form about ten times now, Allow
Edits is Yes,
Allow Deletions is Yes, Allow Additions is Yes. Record Locks is on No Locks.
Recordset Type is Dynaset, etc. Can somebody help me?

Thanks,
tiz

  #6  
Old November 24th, 2004, 07:35 PM
ChrisJ
external usenet poster
 
Posts: n/a
Default

This is not the same problem. In Tiz's case the form never worked. In your
case it did, but suddenly stopped working.
Something must have changed to cause this.
The most likely causes, if everything else is still working, are
Database corruption or security issues

"James" wrote:

Hi: ChrisJ

I have same problem.

My front end form using a query and gets data from two tables, the tables
are located in another computer (Access tables).

Before, this form can add new record, Edit..., but today, all my staff
(including me) the form just can't do that, even set Edit is true.

If I go to open the tables in the back end, I can add new record (there is a
* indicating add new), but if I run the query from my front end, I just can't
add new record. (there is no * indicting add new).

Please let me how to solve this problem.

Thanks.

James


  #7  
Old April 18th, 2005, 01:05 AM
Rita44
external usenet poster
 
Posts: n/a
Default

I have the same problem as Tiz. However, I have no idea what you mean by
"Paste the SQL for the form's recordsource into a query window and see if you
can update that." Please explain! Help menus were no help. Thanks!


"ChrisJ" wrote:

Presuming the form is bound to a query, it is likely that the query is not
updatable.

Paste the SQL for the form's recordsource into a query window and see if you
can update that.

"tiz" wrote:

I created a form to input data into several different tables. I am unable to
add new records in the form view. I cannot even edit records in the form.
Whenever I'm in the form view and try to edit a record it seems as if it were
locked. I have checked the properties of the form about ten times now, Allow
Edits is Yes,
Allow Deletions is Yes, Allow Additions is Yes. Record Locks is on No Locks.
Recordset Type is Dynaset, etc. Can somebody help me?

Thanks,
tiz

  #8  
Old April 18th, 2005, 01:24 AM
ChrisJ
external usenet poster
 
Posts: n/a
Default

Open your form in design mode and display the properties window.
Select the "data" tab and look at the "record source" setting
If the form is "bound", this setting will be the name of a table, query or
an sql statement (hand-written query).
My previous answer assumes that the record source is an sql statement.
In this case, copy the contents of this property.

Open a new query window.
Click OK to go to the design view.
In the "show table" window, click "Close" without selecting anything

On the lefthand end of the toolbar, click the bold "SQL" button.

A new SQL window will open with "SELECT;" highlighted.
Replace this with what you copied from the properties window.

Run the query, and see if you can enter or change data

Chris
  #9  
Old January 5th, 2006, 01:58 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Editing or adding records in a form

What do I do if this does not allow any editing or changes?

Thanks

"ChrisJ" wrote:

Open your form in design mode and display the properties window.
Select the "data" tab and look at the "record source" setting
If the form is "bound", this setting will be the name of a table, query or
an sql statement (hand-written query).
My previous answer assumes that the record source is an sql statement.
In this case, copy the contents of this property.

Open a new query window.
Click OK to go to the design view.
In the "show table" window, click "Close" without selecting anything

On the lefthand end of the toolbar, click the bold "SQL" button.

A new SQL window will open with "SELECT;" highlighted.
Replace this with what you copied from the properties window.

Run the query, and see if you can enter or change data

Chris

  #10  
Old January 5th, 2006, 07:16 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Editing or adding records in a form

Post the SQL of the form's recordsource, and we may be able to tell you how
to fix it. You may need to go to a form/subform setup

"Jools" wrote:

What do I do if this does not allow any editing or changes?

Thanks


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Continuous Subform / Form - Orphan records Rich J Using Forms 6 October 15th, 2004 08:59 PM
Using a form to select records Sandra Grawunder Using Forms 1 September 22nd, 2004 03:46 PM
New records can't be seen rleblanc Using Forms 6 August 14th, 2004 02:43 PM
Adding Records imbd4a General Discussion 3 July 25th, 2004 10:26 PM


All times are GMT +1. The time now is 04:23 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.