DCount in VBA Equivalent in VB.Net

  • Thread starter Thread starter Wills
  • Start date Start date
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
 
Back
Top