ms-access


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"

Related Links

Data type in access 2007
How to specify a custom format for a text pattern in Microsoft Access?
Many to Many in Access
MS Access (2010) VBA filter not working on one subform
Using a derived field
How to lock vertical scrollbar in MS Access
Need Help regarding this IIF statement
How to enable 1 user to update the database while allowing others to only read in Microsoft Access?
Operation is not allowed when the object is open
Single prompt parameter for shared parameter in sub-reports' queries
Don't show corresponding field items
VBA traversing through recordset via button
Add new Items in a combo box in access
Generate an ID from different column choices in Microsoft Access 2013
MSACCESS query: not part of an aggregate function
pdi spoon ms-access concat

Categories

HOME
yii2
cloud
deployment
angular-material
react-virtualized
layout
view
sd-card
webstorm
adb
react-redux
cmd
jxls
survey
primary-key
iggrid
vault
numeral.js
n-gram
windows-phone-7
leiningen
alpine
swingx
autocad-plugin
cloudhub
tar
cultureinfo
cas
uninstall
tooltipster
greendao
typo3-6.2.x
google-cloud-nl
newline
gsmcomm
bcd
junit5
binary-data
pdb
framemaker
repo
mmenu
jmonkeyengine
space-complexity
android-browser
xenforo
preconditions
galen
node-sass
slick-3.0
skeleton-css-boilerplate
osx-mavericks
zip4j
react-scripts
qsslsocket
dotnetzip
diagnostics
crypt
android-cursor
windows-iot-core-10
pearson
pillow
zendesk-app
specrun
firmata
removechild
ubuntu-10.04
ios4
ptrace
tform
freelancer.com-api
historian
metaclass
mmc
iiviewdeckcontroller
sonarqube5.1.2
e10s
jsapi
python-green
c3
jquery-layout
balanced-payments
oracle-warehouse-builder
pygit2
lcs
angularjs-controller
onsubmit
dotnethighcharts
boost-filesystem
pyinotify
lpeg
h.323
mozilla-prism
photoshop-cs4
eqatec
pascal-fc
project-hosting
thread-local-storage
post-build

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App