DCount in VBA Equivalent in VB.Net

W

Wills

Can someone recommend the best equivalent of a DCount in VB.net. In MS
Access VBA I'd set a text control to = DCount("[OrderDate]", "tblOrder",
"[Datefield] BETWEEN #1/24/2008# AND #1/25/2008#"). Can someone recommend
the best way of doing this in VB.net? I've searched and looks like I need
to use the DataReader object but I'm unsure how to do it.

Thanks in Advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top