Quote Originally Posted by seema_s
What is the code to call a report from VB? I need help plz.
First, go into Access and create the report.

Then, from your VB program, set a reference to the MS Access Object Library, then run something like this
VB Code:
  1. Private Sub cmdPrintReport_Click()
  2.            Dim Axs As Access.Application
  3.            Set Axs = CreateObject("Access.Application")
  4.            Axs.OpenCurrentDatabase (DBPath)
  5.            Axs.DoCmd.OpenReport "MyReport"
  6.            Set Axs = Nothing
  7.            Axs.Quit
  8. End Sub
Where MyReport is the name of your Access report and DBPath is the full path and db name of your database.