hello,
I have a table called Group and a field called ID and a text box named Text7. I was wondering how on a form how I can input data into a text box and have a button save that data to that field in my table.
hello,
I have a table called Group and a field called ID and a text box named Text7. I was wondering how on a form how I can input data into a text box and have a button save that data to that field in my table.
The easiest approach is to bind the form to table and bind textbox to field. Value entered into textbox passes directly to field in table. No button and no code needed. But since you show "Advanced Beginner" in your profile, you should already be aware of this basic Access functionality. So exactly what are you trying to do? Why do you need code to save input?
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
You don't have to ignorant. I just thought there was an easier way like using the OpenDialogue approach and when you select the file there was a way to have the name stored in a field. A different way than using the textbox technique.
Select what file? Your original post says nothing about selecting a file. Yes, code behind command button can open FileDialog, grab the selected file or folder name and save into record. Fairly common topic. https://www.accessforums.net/program...ice-48264.html
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.