Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Posts
    83

    Unanswered: DCOUNT in a Report

    I have a report with a textbox (txtBox ...for example)

    So in the code view I enter

    txtBox = DCount(whatever)

    I keep getting an error saying I cannot assign a value to this object. I've made sure I'm entering it into the correct forms code. If I put a period after txtBox, and I get the members popping up, so it must see the object.

    Is it something easy i'm just overlooking?

  2. #2
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    Try being explicit...

    txtBox.value = DCount(stuff)
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

Posting Permissions

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