Solved

My form is still not updating and if I do an unbound box then I get repeats

Posted on 2014-12-02
4
106 Views
Last Modified: 2014-12-02
Hello

I have a DB..I have my query hardcoded.  From the query I am dumping into a form and the form is not updateable.  If I get rid of the DISTINCT then I get multiple records (Same).  Also I can update the blanks fields I have for user input...Still new at this. I inherited a DB..
0
Comment
Question by:Jass Saini
  • 2
4 Comments
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 40477037
try setting the Form's RecordsetType property  to Dynaset (Inconsistent Updates).

also see this When can I update data from a query

for possible causes and solution
0
 

Author Comment

by:Jass Saini
ID: 40477053
Ok..I tried that and no luck.  But I will definitely check out the link.  I have been stuck for a whole month and I can't figure out why.
0
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 40477469
From the query I am dumping into a form and the form is not updateable.
Your QUERY must be updateable in order for your Form to be updateable, and Query with a DISTINCT keyword will not be updateable.

In cases like this, you either need to (a) clean up the data so that you don't need to use DISTINCT or (b) create an unbound form and manage the data manipulation yourself.
0
 

Author Closing Comment

by:Jass Saini
ID: 40477561
Thank you...
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Familiarize people with the process of utilizing SQL Server functions 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 Microsoft Ac…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now