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

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

Categories

HOME
netsuite
office365api
session
react-router
getelementsbytagname
ebean
convolution
mouse
cloudkit
gorm
ssl-client-authentication
fancybox-3
n-gram
flask-wtforms
decomposition
decimal
lucene.net
alpine
nodatime
introduction
swingx
ml
riot.js
abi
language-agnostic
hammerspoon
rundeck
crystal-reports-2010
h2db
xpages-ssjs
selectedindexchanged
react-css-modules
ping
gitignore
file-rename
bpel
bluestacks
binary-data
twilio-api
wallpaper
devextreme
simplexml
web-mining
dynamics-crm-2013
hue
android-fingerprint-api
no-www
mime
executenonquery
fault
outlook-2013
termination
celery-task
powercli
sqlclient
typed-lambda-calculus
nbconvert
dynamics-sl
root-framework
gridpane
trash
mongocsharpdriver
plottable.js
pagedlist
skype4py
design-by-contract
ios4
freelancer.com-api
reactive-banana
t4mvc
cisco-ios
oberon
key-management
dereference
apache-commons-net
kineticjs
qpainter
gui-test-framework
has-many-through
java.nio.file
eventual-consistency
android-hardware
free-variable
pysimplesoap
jquery-ui-layout
asyncfileupload
vdsp
gcj
locate
android-sdk-2.1
mongomapper
mysql-error-1005
datareader
lpeg
visitor-statistic
yslow
mozilla-prism
forums
compiler-specific
ctp4
boost-smart-ptr
mdac
rtml
uiq3

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