Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004
    Posts
    178

    Unanswered: send object error

    when i click on a button it askes me do i want to pring the report if i say yes it prints if i say no it does not either way it then askes do i want to email yes or no if i say yes it runs this code:

    DoCmd.SendObject acReport, stDocName, acFormatSNP, , , , "Movie Program Starting " & Text2, , True

    and i get this error

    the object type argument for the action or method is blank or invalid

  2. #2
    Join Date
    Jun 2005
    Location
    Richmond, Virginia USA
    Posts
    2,763
    Provided Answers: 19
    Per Access Help, the objecttype should be acSendReport, not acReport.
    Hope this helps!

    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •