Helo, im new to this. i have a report which lists out all people in a table. what i one is to make the report in access to display certain values i want from vb. any ideas?

VB Code:
  1. Private Sub cmdShowRpt_Click()
  2. On Error Resume Next
  3. Set AccessApp = New Access.Application
  4.  
  5. With AccessApp
  6.     .Visible = True
  7.     .OpenCurrentDatabase "c:\aff.mdb"
  8.     .RunCommand acCmdWindowHide
  9.     .RunCommand acCmdAppMaximize
  10.     .DoCmd.OpenReport "Titles", acViewPreview
  11. End With
  12. End Sub