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

data type mismatch error in criteria expression-ms access
Access Main Form 'Enter Parameter Value'
How to get a combobox2 to display records only relating to the selection made in combobox1?
Ms Access: Running an update query
Access Query that brings up decimal amounts
Access 2016 Processes not being killed during Automation but same works for Access 2013/10/07
Unable to use Multivalue field in an exsting Access form
Insert value from textbox into 2 different table ms-access
Access 2013 Expression Builder not displaying
Missing ACCDB database drivers
MS Access Form button that allows user to browse/choose file, then imports file to a table
Can codesmith generator work with MS Access provider?
Access file unable to run in x64
Form.Seltop not selecting top most record
I have an ADO recordset, now I want to create a table from it but not at its connection location. How?
weighted average caluculation in access table

Categories

HOME
pdf
vbscript
debugging
openstack
isabelle
iot
electron
kalman-filter
at-command
rsync
rdf
alpha
azure-media-services
directx
upload
android-youtube-api
kibana-4
fancybox-3
u-sql
correlation
resize
apache-cayenne
usergrid
task
size
ibm-odm
ups
openrefine
crystal-reports-2008
zapier
kryo
ehcache
pass-by-reference
claims-based-identity
xpages-ssjs
spark-jobserver
wpfdatagrid
spring-mybatis
elasticsearch-ruby
microsoft-chart-controls
ecto
siesta-swift
main
ssjs
ansible-playbook
hp-ux
mapzen
fedex
gulp-sourcemaps
dynamic-reports
sas-jmp
smartcontracts
veracode
recursive-datastructures
colorama
setter
jxcore
forever
magma
np-complete
akka-cluster
query-performance
mediaelement
gnome-shell-extensions
watchconnectivity
static-ip-address
android-fonts
heidisql
django-debug-toolbar
blackberry-10
skype4py
oauth2client
jmeter-maven-plugin
libressl
mmc
clipperlib
kineticjs
csquery
offloading
android-imagebutton
fpml
socketexception
websocket4net
xojo
eol
resty-gwt
fmod
soundtouch
easy-install
spring-validator
ocunit
e4x
bubble-chart
asyncfileupload
transactionscope
filtered-index
compiler-specific
django-notification
misv
ntvdm.exe

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