ms access 2010 update linked table with no primary key
My sql 2008 linked query data has no primary key column - because I need to bulk update duplicate rows (that are duplicate in 2 or more columns). When I link the query (I have it as a sql view for now) - the records load in the form ok. Is there a way to override the form to alow me to edit the data in the textboxes and then click a button to run the custom code to update the linked database tables? Hope that makes sense. thanks, KS
You can write custom code to update rows in a linked table, the absence of a primary key should not be a problem as long as you can identify the rows you wish to update. currentdb.execute "UPDATE LinkedTable SET thisField='Yes' WHERE conditionsThatIdentifyTheRows"
Access exports only 1st column of query
make a table in MS Access
how to get this code into a access form as text label?
Event not Firing in MS Access VBA
SQL query in Ms-access
Loop through for all shortcuts in a given location and return the target path
access vba execute after inserting new record
MS Access: How to Supply Parameters to a Query-Based Subform Control
Avoid duplication without using Indexed fields and 'no duplication'
how do i build a website using access 2010? [closed]
Is there a NotIn(“A”,“B”) function in VBA?
Access VBA: If Form Value <> NULL then run query else, end if. - not doing anything
ms-access: file already in use ERROR
Data from different records in one record using Access 2003
forcing EDIT of access backend database
How to collect input via a form and pass to report query in Access