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

Count of dates “This Month” to appear in a text box in Access Report
Issue with Removing References in Microsoft Access
Turn Access to Application
Powerpivot + Access + SSAS Cube
How to make the input dates which user type in the prompt show in report ? MS Access 2013
Access 2016 create table with field properties for combobox
MS Access Date Grouping is not working in report
Access query to find who didn't test over a range of dates
Error 6 Overflow using Access 2.0 and Access Basic
Runntime error 2115
Is there a way to protect a field so that only certain users can edit?
Format Text Field To Date In Access Query
Changing date format in access table
Sum daily totals plus grand total from multiple tables in MSSQL
Access ComboBox to TextBox
Pulling text from another text field in MS-access

Categories

HOME
google-chrome-extension
vmware
read-eval-print-loop
rsync
ip
ckeditor
baqend
serverspec
fancybox
constraint-programming
autotools
quickbooks
gz
event-handling
msp430
carthage
grails3
tapestry
kudan
android-widget
fish
facebook-apps
webkitspeechrecognition
gitignore
libssl
nameservers
junit5
airconsole
contact-form
gtrendsr
repo
openoffice.org
mapdb
xcode-extension
multilingual
ws-security
glew
eclipse-gef
apple-news
flickr-api
hibernate-tools
multipeer-connectivity
paxos
pebble-watch
darcs
lift-json
media-player
akka-cluster
specrun
objective-c-swift-bridge
visual-c++-2008
probability-density
file-writing
phishing
multi-level
merge-conflict-resolution
paypal-express
firebaseui
jwplayer7
nsviewcontroller
packagist
bluegiga
ora-00900
cannon.js
qdialog
feedback
ionic
fluid-dynamics
c++03
block-device
c3
jscript.net
java.util.concurrent
phalanger
wordpress-theme-customize
google-reader
xceed-datagrid
ember-charts
terminal-services
cdc
jmapviewer
dotnetnuke-5
flash-builder4.5
comaddin
sharp-repository
hamiltonian-cycle
manchester-syntax
tridion-worldserver
reddot
fireworks
heartbeat
xmemcached
locationlistener
calling-convention
google-friend-connect
microsoft-virtualization
simpletest
mediarss
zune
geneva-server

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