I have been looking on the net to solve my problem for several days now, but i couldn't find what I was looking for.
I'm designing a database for a university and in one of the forms I have a text field called "Thesis Plan Due Date". User will enter the due date for submission of student's thesis in this text field.
What i want to do is that when the user has specified the due date for the first student, I want the vba code to copy that due date to the "Thesis Plan Due Date" fields of all the student in the "Thesis Applicant Information" table. I know that this code should go in the AfterUpdate event of my text field, but I'm not sure how it should be written.
I made the following SQL statemtn but I'm not sure if it's suppose to do what I want :D
Expand|Select|Wrap|Line Numbers
- Dim date As Variant
- date = Me.[Thesis Plan Due Date].value
- CurrentDb.Execute ("INSERT INTO [Thesis Applicant Information]( [Thesis Plan Due Date])" _
- & "SELECT " & date ";")
Thanks in advance for your time.
P.S. I recently found this site and this is my first post :D