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.
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?