yessir
Saved By Grace
- Local time
- Today, 03:06
- Joined
- May 29, 2003
- Messages
- 349
my button is supposed to open a report
this is the code
Private Sub Command42_Click()
On Error GoTo Err_Command42_Click
DoCmd.OpenReport "rptAIDSWalkerPledges", acViewPreview
Exit_Command42_Click:
Exit Sub
Err_Command42_Click:
MsgBox Err.Description
Resume Exit_Command42_Click
End Sub
y won't it?

this is the code
Private Sub Command42_Click()
On Error GoTo Err_Command42_Click
DoCmd.OpenReport "rptAIDSWalkerPledges", acViewPreview
Exit_Command42_Click:
Exit Sub
Err_Command42_Click:
MsgBox Err.Description
Resume Exit_Command42_Click
End Sub
y won't it?