I cannot enter data on a form I'm using. I'm assuming this is because the record source is a query. Is there a way to allow me to enter data using a query? Thank you.
Entering data on a form that's record source is a query
Collapse
X
-
You should be able to, here are some things that you could look atOriginally posted by jromitoI cannot enter data on a form I'm using. I'm assuming this is because the record source is a query. Is there a way to allow me to enter data using a query? Thank you.
1. Form opened in acview
2. Edit lock set in form properties
3. Poor query design
4. Key discrepancies in your underlying tables.
With a little debuging time you should be able to figgure it out. What have you done so far? -
Thank you for your response. This is a simple query so the design should be ok. When you say acview, what do you mean by that? I tried changing the edit lock set to edited record and it still didn't work.Originally posted by DonRaynerYou should be able to, here are some things that you could look at
1. Form opened in acview
2. Edit lock set in form properties
3. Poor query design
4. Key discrepancies in your underlying tables.
With a little debuging time you should be able to figgure it out. What have you done so far?Comment
-
if the form is being opened like thisOriginally posted by jromitoThank you for your response. This is a simple query so the design should be ok. When you say acview, what do you mean by that? I tried changing the edit lock set to edited record and it still didn't work.
Also it's not the edit lock, I guess I should have been more specific. On the properties setting for the form click on the data tab and check the Allow Edits, Allow Deletions, Allow Additions and Data Entry settingsCode:DoCmd.OpenForm "FormName", , , , acFormReadOnly
Comment
-
If you run the query on its own, then you can see if the query is updatable by whether or not there is an empty line for adding a new record.
If there is no line for a new record, then the query is not updatable, and that means the data cannot be updated, whether from a form or otherwise.Comment
-
Comment
Comment