Rowfilter syntax

  • I am sure this is a simple problem but as a newbie this has caused me much head scratching...

    dvresultsdetail2005.RowFilter = "Year = 2005"

    This keeps coming up with an error "Object reference not set to an instance of an object."

    What am I doing wrong?

  • Use single quote instead od double quote.

    dvresultsdetail2005.RowFilter = 'Year = 2005'

     

    _____________
    Code for TallyGenerator

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply