Solved

ms access expression builder

Posted on 2009-05-17
4
378 Views
Last Modified: 2012-05-07
trying to simply count records in a table [tickettable] that have the ticketstatus field set to Resolved

my expression--------------->    =Count([TicketTable]![TicketStatus]=["Resolved"])

but all i get is the lovely ERROR error message

i'm sure it is something simple.....thanks and 200 points to whomever can help me

thanks
=Count([TicketTable]![TicketStatus]=["Resolved"])

Open in new window

0
Comment
Question by:rinkydink
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 13

Expert Comment

by:lucas911
ID: 24408324
Why dont you use dcount instead.

=Dcount("Ticketsfield","tickettable","ticketstatus=" & resoloved & "")

Where are you going to use this expression? On a report or form or query?
0
 
LVL 1

Author Comment

by:rinkydink
ID: 24408360
i was trying to use it on an unbound text box on a form
0
 
LVL 13

Accepted Solution

by:
lucas911 earned 200 total points
ID: 24409033
ok, if you have a resolved textbox or a check box then rename it to something meaningful.

then in your unbound text box  put in the dcount formula:

=Dcount("Ticketsfieldyouwantdisplayed","tickettable","ticketstatus=" & chResoloved & "")

Of course change the names to match your table and fields.  chResolved is a checbox field that is either true or false.
0
 
LVL 1

Author Comment

by:rinkydink
ID: 24409078
thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question