Share via

Using a query as the record source for a form.

Anonymous
2022-09-01T20:18:29+00:00

I have a table I used to create a query which I then used as my record source for a form and it allows me to edit the form. In the same database, I did same steps for a second form, but I cannot edit that form. I checked properties etc., but I don't see any difference between the two forms. In the second form my query originally had calculation in it and removed those. Can anyone tell my why I cannot enter data in my form?

Microsoft 365 and Office | Access | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. ScottGem 68,830 Reputation points Volunteer Moderator
    2022-09-02T00:34:56+00:00

    The usual reason you can't edit a form based on a query is becuase the query itself is uneditable. This often happens when using a multi table query. It will also happen if you use a Group By query. A calculated column alone shouldn't prevent it.

    Try posting the SQL of the query so we can take a look.

    Was this answer helpful?

    0 comments No comments
  2. Tom van Stiphout 40,211 Reputation points MVP Volunteer Moderator
    2022-09-01T20:39:17+00:00

    The problem could be with the form, or with the query.

    So let's test the query first. Open it, and try to edit an existing row, or add a new one. Does that work? If not, switch to SQL view and copy/paste the SQL in your next reply.

    Was this answer helpful?

    0 comments No comments
  3. HansV 462.6K Reputation points
    2022-09-01T20:39:04+00:00

    If you open the second query by itself, can you edit records?

    If not:

    • Is the second query based on more than one table?
    • Did you turn on Totals in the design of the query?
    • Did you set the Unique Values property of the query to Yes?

    Was this answer helpful?

    0 comments No comments