Results 1 to 2 of 2

Thread: Error Message

  1. #1
    Join Date
    Aug 2012
    Posts
    29

    Unanswered: Error Message

    I have this code but keep getting this error "Compile Error sub or function not defined
    this is the code ' Determine reporting time frame
    Select Case Me.lstSalesPeriod
    Case ByYear
    strReportName = "Customer Reports"
    lOrderCount = DCountWrapper("*", "Order Analysis", "[Year]=" & Me.cbYear)
    the error is at Me.cbYear
    Thanks

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    at first glance I'd suspect its dcountwrapper
    that is not a native Access function as far as i now. what do you believe it does?
    I'd rather be riding on the Tiger 800 or the Norton

Posting Permissions

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