Click here to Skip to main content
15,920,111 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi sir..

i am trying to insert serial numbers using with Dcount in query
the syntax like -
Serial Number: DCount("*","tablename","ID <=" & [ID])
but when i open query get massage like (undefined function 'Dcount' in expression)

is it right way to insert serial numbers in query
if not pls. tell me what's the way
Posted
Comments
ZurdoDev 21-Aug-15 16:14pm    
Do you have this nested in your expression or is DCount the whole expression?

1 solution

The answer to your question is No, it is not the right way.
In fact, there is no right way for anything as long as you deal with an error message undefined function 'Dcount' in expression at compile time. You are asking the wrong question and thus can't get the right answer.

Your question have to be Why do I get this error message ? and odds are that to compiler is right and you are wrong.
The answer to this question is:
- check the documentation.
- Google for an example
- Google for a tuto
- learn further the language.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900