A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

DCOUNT Dropdown



 
 
Thread Tools Display Modes
  #1  
Old January 7th, 2010, 11:11 AM posted to microsoft.public.access.forms
Jamo via AccessMonster.com
external usenet poster
 
Posts: 3
Default DCOUNT Dropdown

Hi,

All I am trying to do is a simple DCOUNT on a combo box from my table.

How many times does the word "Session" appear in table "Timeline". The field
is called "Event".

I try DCOUNT("Event","Timeline","Event = 'Session'") but get #ERROR.

Please help,

Many thanks.

--
---
jamotarpey[at]gmail[dot]com

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/201001/1

  #2  
Old January 7th, 2010, 12:17 PM posted to microsoft.public.access.forms
BruceM via AccessMonster.com
external usenet poster
 
Posts: 448
Default DCOUNT Dropdown

When I have trouble with an expression I try leaving out the optional
arguments if I can (in this case the Where condition) as a test.

If it works without the Where, the next thing I would wonder is if Event is a
lookup field in the table. If so, I believe the actual stored value is a
number rather than what you see.

Jamo wrote:
Hi,

All I am trying to do is a simple DCOUNT on a combo box from my table.

How many times does the word "Session" appear in table "Timeline". The field
is called "Event".

I try DCOUNT("Event","Timeline","Event = 'Session'") but get #ERROR.

Please help,

Many thanks.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/201001/1

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.