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

MS Access textbox update/append
Add zeros (if necessary) to a number in access
Can someone explain the difference between “AND” and “&” in Access
Access 2010 Web Database How to extract a particular column from combo box
password-protecting Access tables
Access - Excluding first column from lookup values
VBA MS Access 2010 How to call a Subroutine of an Object?
Report Field Should Show “N/A” Based on Separate Field
Progress bar in in MS Access
SQL SELECT Query on related table
Assistance with combo box using lookup table - MS Access
MS access : how to add 1 row between 2 rows?
Access 2010 Error Accessing the system registry
How to edit subform based on joined tables in Access 2010
Textfield in Access 2003 query replaced by squares and asian symbols
Where do I put Access vba code to only fire when physically printing?

Categories

HOME
openlayers
osgi
google-api-php-client
homebrew
office365api
tizen-web-app
sqlite3
acquia
datastax-java-driver
qore
autotools
append
add
awesome-wm
vault
handsontable
clojurescript
contextmenu
openedx
java-3d
sox
hammerspoon
autosys
quote
bpel
r-raster
code-contracts
plsql-psp
swisscomdev
space-complexity
sharefile
elasticsearch-plugin
ensembles
reportingservices-2005
spring-security-kerberos
segment
react-scripts
dds
promela
veracode
carrot
zendesk-app
eventkit
instant
sts-springsourcetoolsuite
phishing
google-web-starter-kit
clang-static-analyzer
simplewebrtc
hill-climbing
bgp
fadeout
ipconfig
design-by-contract
two-factor-authentication
unity-networking
tcpserver
msys
cartesian-product
django-unittest
fouc
rgeo
myo
sailfish-os
vstest.console.exe
bigbluebutton
website-monitoring
id3v2
php-5.4
mesa
typeof
rebol3
poller
stxxl
viadeo
xsockets.net
blending
excel-2003
hungarian-algorithm
orchardcms-1.7
distutils
selected
sublist
nsnetservice
runas
datawindow
nsmanagedobject
infobox
suppress
routedevent
asp.net-profiles
thunderbird-lightning
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