JavaToPerlNowVB
Programmer
I have this code in a form as an action for a button, When the user hit the button in the form I want a report to showup in the screen, accoring to my code it doesn't showup in the screan but it gets send it to the printer.
help me out, thanks alot
anu
Code:
Private Sub poleSpecificReport_Click()
On Error GoTo Err_poleSpecificReport_Click
Dim stDocName As String
Dim stLinkCriteria As String
DoCmd.Echo True, "Preparing Report Data...Please Wait"
stDocName = "PoleProblemReportSpecificMap"
DoCmd.OpenReport stDocName, , , stLinkCriteria
Exit_poleSpecificReport_Click:
Exit Sub
Err_poleSpecificReport_Click:
MsgBox Err.Description
Resume Exit_poleSpecificReport_Click
End Sub
anu