Form from a query

L

LG

I built an form that needs to be in edit mode. The form was built off a
query but I am unable to edit the information in the form.
Any ideas
 
D

Dirk Goldgar

LG said:
I built an form that needs to be in edit mode. The form was built off a
query but I am unable to edit the information in the form.
Any ideas


First check to see if the query itself is updatable -- not all queries are.
If you open the query directly as a datasheet, can you update or add
records? If not, you may want to look at the help topic, "When can I update
data from a query?". That may not be the exact title of the topic, but if
you search the help file for that sentence, you should find it. Here's a
link to an online version of that article:

http://office.microsoft.com/assistance/hfws.aspx?AssetID=HP051880011033

If your query is a totals query or uses the DISTINCT keyword, it won't be
updatable. But there are other ways of constructing queries that result in
a non-updatable query. If the query isn't updatable and you can't figure
out why after reviewing the help article linked above, post the SQL here and
maybe we can see the problem.

If the query *is* updatable, make sure that your form's AllowAdditions
property is set to Yes and that you aren't explicitly opening it read-only.
Also make sure that the database itself isn't read-only, and that you can
update records directly in the tables.
 
M

Maarkr

Open the query it's base on and see if you can edit it there. If you can,
check the form properties and see if Allow Edits is set to Yes. If not,
search on updatable queries.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Parameter Value error in a Subform 0
Form field list 2
Run Form thru Query back to Form 2
Uneditable Form? 2
Add a "Counter" to a Form 10
Form not allowing edits 2
FORM Please HELP 2
Recordset is not updatable 3

Top