Harry Paraskeva
Registered User.
- Local time
- Today, 06:07
- Joined
- Sep 8, 2013
- Messages
- 67
The title pretty much says it all. Assume we have an MVF on an Access form with some values in the list behind it (either Value List or Table/Query).
Is it possible to have a button that when clicked can populate the MVF for the current record with a value that is already in the list of the MVF? If yes, how would you go about it?
I've tried with the INSERT INTO command, but it keeps giving errors. The code I used is as follows:
Any help appreciated!
Is it possible to have a button that when clicked can populate the MVF for the current record with a value that is already in the list of the MVF? If yes, how would you go about it?
I've tried with the INSERT INTO command, but it keeps giving errors. The code I used is as follows:
Code:
Dim strsql As String
strsql = "INSERT INTO Table1(Field1.[Value]) Values ('C')" & "Where ID= '" & Me.ID & "');"
DoCmd.RunSQL qst
Me.Refresh
Any help appreciated!