May 22, 2006 #1 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*'")
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*'")
May 22, 2006 1 #2 Remou Technical User Sep 30, 2002 13,030 BE You said it yourself, 'like' [tt]cntAll = DCount("*", "tblAcute", "code Like 'n*'")[/tt] Upvote 0 Downvote
May 22, 2006 Thread starter #3 lars7 Technical User Aug 16, 2005 817 GB Hi Remou, I tried that but left the "=" in. :~/ Thanks as always. Upvote 0 Downvote