RE: append and update without confirmation message
- From: "Haggr1 via AccessMonster.com" <u35393@uwe>
- Date: Fri, 29 Jun 2007 18:54:12 GMT
Here's what I did
Private Sub Command49_Click()
On Error GoTo Err_Command49_Click
With DoCmd
.Execute "qrystyleappendstyle", dbFailOnError
.Execute "qrystylegary", dbFailOnError
End With
Exit_Command49_Click:
Exit Sub
Err_Command49_Click:
MsgBox Err.Description
Resume Exit_Command49_Click
End Sub
When I try to run I get and error message
"Complie Error" "Method or data member not found"
With "Execute" highlighted
Klatuu wrote:
That would work just fine.
Where would I put the method? The "on click" event of a command button?[quoted text clipped - 24 lines]
Is it possible to have one command to run both and without any confirmation
messages
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-queries/200706/1
.
- References:
- append and update without confirmation message
- From: Haggr1 via AccessMonster.com
- RE: append and update without confirmation message
- From: Haggr1 via AccessMonster.com
- append and update without confirmation message
- Prev by Date: Row Level Locking from Excel VBA query
- Next by Date: Re: Criteria Messing Up Sort Order
- Previous by thread: RE: append and update without confirmation message
- Next by thread: RE: No data event function
- Index(es):