H
HowardChr via AccessMonster.com
I have a form with a list on it. The list is being populated by a table. I
would like it so that when I click a command button, whichever option was
selected on the list get copied (or moved) to a new table titled "Input". I
thought about using an append query, but don't know enough about them to
understand what I'm doing. Is there an easy way to do this? Right now I
have the following code put into my command button:
"Private Sub Command15_Click()
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = Me.List12
CurrentDb.Execute "Uno", dbFailOnError
DoCmd.Close acForm, ("Loc-1L")
DoCmd.OpenForm ("Loc-2s")
End Sub"
When clicked, SOMETHING seems to function as there is a split second of delay,
however there are not error messages. When I check my table, it is not
updated. Bummer... any ideas? I'm still new at this so.. try to keep it
simple. Thanks!
would like it so that when I click a command button, whichever option was
selected on the list get copied (or moved) to a new table titled "Input". I
thought about using an append query, but don't know enough about them to
understand what I'm doing. Is there an easy way to do this? Right now I
have the following code put into my command button:
"Private Sub Command15_Click()
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = Me.List12
CurrentDb.Execute "Uno", dbFailOnError
DoCmd.Close acForm, ("Loc-1L")
DoCmd.OpenForm ("Loc-2s")
End Sub"
When clicked, SOMETHING seems to function as there is a split second of delay,
however there are not error messages. When I check my table, it is not
updated. Bummer... any ideas? I'm still new at this so.. try to keep it
simple. Thanks!