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

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

Categories

HOME
maven
xamarin
pypi
netsuite
keycloak
push-notification
react-virtualized
hashmap
dot
electron
grep
bpmn
jira
yarn
sharepoint-designer
rubygems
rdf
survey
win32gui
retrofit
constraint-programming
upload
gitpitch
fancybox-3
alignment
dtrace
openedx
paging
physics-engine
sylius
wkwebview
xpages-ssjs
javacv
chromebook
brunch
social-media
unboundid
sql-server-2012-express
airconsole
oracle-fusion-middleware
noraui
protovis
xmlreader
ghost4j
environment-modules
revolution-slider
simplexml
automake
ssjs
jna
mesos-chronos
gulp-sourcemaps
g-code
google-closure
outlook-api
netcdf4
qcombobox
auto-update
menuitem
dds
clean-architecture
powercli
knpmenubundle
arrow-keys
mediaelement
specrun
xml-attribute
qgraphicsview
bluemix-app-scan
ios4
ford-fulkerson
xna-4.0
content-length
browser-bugs
map-projections
service-accounts
myo
remobjects
xcode-6.2
rdl
openexr
sgen
marmalade
soundtouch
type-equivalence
delphi-6
browser-detection
propertyeditor
automount
netdna-api
boost-filesystem
doh
vdsp
gdlib
android-sdk-2.1
jmock
radcombobox
gamma
substrings
backcolor
zend-decorators
defensive-programming
mdac

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