473,385 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to create a count expression?

15
Hi i have a table named Employee having IDNo and a combobox named department with this row source
INST'L SERVICES DEPT.
FINANCE SERVICES DEPT.
TECHNICAL SERVICES DEPT.
OFFICE OF THE GM

the question is how can i create a count in each row source?

i already tried this code but it only shows #Error

here's the code ive tried:

=DCount("[IDNo]","Employee","[department]='INST'L SERVICES DEPT.'")
Nov 27 '14 #1
2 1215
Luuk
1,047 Expert 1GB
"DCOUNT()" ??? You are not using MS-Access!!!!

Or are you, than you are posting your question in the wrong place.

In mysql counting can be done using the function COUNT
Nov 27 '14 #2
Luuk
1,047 Expert 1GB
for the rest of this story see: this ;-)
Nov 27 '14 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: FaensenD | last post by:
Consider the following XML document <root> <PersonStreet>24 Miller Street</PersonStreet> <PersonZIP>12345</PersonZIP> <PersonCity>Munich</PersonCity> <CompanyStreet>24 Miller...
5
by: John | last post by:
I need help understanding how to get a query to lookup an employee's sales (tblSales) and calculate and expression (Commission) based on a CommissionRate (tblCommissionSchedule) that corresponds to...
3
by: Michael Curtis | last post by:
This is kicking my @#$%. I have been asked to do a performance report for our vendors. I need to compare and count dates. 1. Is called which is in a table named JOB DATES 2. Is called which...
3
by: Nigel C | last post by:
My problem is best explained by way of tables and examples... I am using Access 2000 (in case this is relevant) and I have a table with the following fields... Field names ------------ Code ...
6
by: Mario Vázquez | last post by:
Hi, I'm tryin in vane to get the number of elements of some type from a XML document using the count() function. I'm not in a XSLT document. I'm just trying to get this from a .NET XmlDocument...
4
by: Anuradha | last post by:
Dear Experts How can I count records in a data reader? Thx Anuradha
1
by: Jimmy | last post by:
I hate to ask such an ambiguous question but...what are some possible causes of getting #Error in a text box with =Count() as the control source. I have a form with a text control on the form...
3
by: Monroeski | last post by:
I tried doing a search for this, but I think the terms I need to use are too generic to come up with anything useful. Basically, I have a yes/no field in a query that is the record source for a...
7
Breeves22
by: Breeves22 | last post by:
Hi I am fairly new to access and only just beginning to work with creating my own database. I have three fields, the referral date, the visit date and the joint visit date. I am trying to...
1
by: Cathy C | last post by:
how can i create an expression in access to indicate ex: Appointment date is for 10/1/10 and you are only able to schedule four patients for the 9:00 AM slot Then on 10/2/10 you have another...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.