Solved

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

Posted on 2014-12-02
4
114 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

734 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