Solved

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

Posted on 2014-12-02
4
113 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 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

Independent Software Vendors: 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

Suggested Solutions

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

740 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