ms-access


MS Acces - Modify data in Form and save record


I have a simple question but somehow I just couldn't find a proper solution online.
In a form there is a text box. It gets its data via dlookup from a table.
With a button I want to allow editing by setting
Me!AllowEdits = True
So save there is a button with the code
DoCmd.RunCommand acCmdSaveRecord
Anyway - by clicking the editing button I'm not able to modify the text written in the text box.
Does anybody of you know a solution?
Thanks in advance.
Why are you using DLookup()?
The acCmdSaveRecord command will not save calculated data. This value returned by DLookup() will not be saved to table without first running code to save it into a field, like Me!fieldname = Me.textboxname. So you can have another textbox BOUND to that field and that textbox can be editable.

Related Links

Is Access's AutoNumber (Increment) guaranteed to increment?
VBA Code to Count all Columns that are numeric in ListBox containing SQL Query Results
How to requery a subform from another form?
Is it possible to create a recursive query in Access?
MS Access 2000 Report needs to be PDF format with URL hyperlinks
Deploying Access as a client-server application
Resize form based on if subform visible
MS Access search for record by textbox instead of dropdown
Uniqueness Constraints in MS Access
Application Icon path in MS Access
Microsoft access is a mere file or data-base server
Is ACE/Jet's IN operator or CHECK constraint 'broken'?
Form.CurrentRecord=1 and Form.RecordSet.Absoluteposition=-1
email using Access and VBA without MAPI
MS Access Properties
Will Access support 35- 40 users writing to a Access database

Categories

HOME
multithreading
webpack
debugging
zeromq
fluentd
mockito
objectgears
analysis
electronics
survey
fsm
webpack-2
ckeditor
networkx
floating-action-button
row
modx-revolution
u-sql
collectd
circular-dependency
moonmail
gz
static-libraries
leiningen
hex-editors
windows-server-2012
circuit
windows-7-x64
oracle-coherence
beyondcompare
shared-hosting
amazonsellercentral
web-sql
one-to-many
assistant
ejabberd-module
webtest
avcapturesession
wallpaper
streamsets
theano.scan
xenforo
webix-treetable
ssjs
reportbuilder
angularjs-factory
graphenedb
mesos-chronos
particles.js
powershell-dsc
checkboxlist
sencha-touch-2.3
convertapi
wptoolkit
long-polling
chain-builder
revapi
jedis
ionicons
alphabet
typescript1.8
mu
nativeapplication
forever
feeds
nsarray
windows-mobile-6.5
gcsfuse
sqldf
query-performance
objective-c-swift-bridge
yt-project
jquery-filter
color-picker
elements
azure-virtual-network
measures
qpid
flash-cs5
qgraphicsview
phpcas
feedback
tarjans-algorithm
service-accounts
interrupted-exception
operation
generic-programming
oberon
oxwall
titanium-modules
markers
neolane
article
yorick
comexception
mbr
floating-point-precision
tidy
runtime.exec
tridion-worldserver
chrono
qtkit
mercurial-server
gnu-prolog
subgurim-maps
krl
actionview
pyinotify
preference
web-architecture
microsoft-virtualization
eqatec
temporal-database
premature-optimization
thread-local-storage

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