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"
Events in MS Access 2007
MS-ACCESS: displaying the results of a query in a message box
MS Access 2003 - Opening a report without it printing
Create a field name from a recordset
How run an Access 2007 module in VB6?
MS Access 2003 - Auto assigning an Identification Number
Ms access: Autocomplete field with values from another table
MS-Access: hotkey to display a message box
.mdb - Access - database appending # on image file
MS-Access 2007 - 255 character limit for exports and field concatenation
Avoiding MaxLocksPerFile via odbc connection to MS Access
Access MDB: do access MDB files have an upper size limit?
Problem evaluating NULL in an IIF statement (Access)
WM_SETFOCUS Event not fired Microsoft Access 2000
Access VBA sub with form as parameter doesn't alter the form
Where can I find MSAccess Control in Database