Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DCount "like" 1

Status
Not open for further replies.

lars7

Technical User
Aug 16, 2005
817
GB

Hi There,
Is it possible to do a "like" in a Dcount I tried this but it doesn't like it.

cntAll = DCount("[Pay Number]", "tblAcute", "code = 'n*'")
 
You said it yourself, 'like' :)
[tt]cntAll = DCount("*", "tblAcute", "code Like 'n*'")[/tt]
 
Hi Remou,
I tried that but left the "=" in. :~/
Thanks as always.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top