Link to home
Start Free TrialLog in
Avatar of peispud
peispudFlag for Canada

asked on

Microsoft Access Dcount -- check if field has a valid date

Hi.

I would appreciate it if someone helped me with the correct syntax for this "Dcount" example.

[Import Success] is a date field

Dim RecCount As Long: 
RecCount = DCount("[StockNum]", "tbl StockItems", IsDate([Import Success]) = True)

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Anders Ebro (Microsoft MVP)
Anders Ebro (Microsoft MVP)
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of peispud

ASKER

A great answer in under one minute.. Thank you sir!
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of peispud

ASKER

Thank You
Avatar of peispud

ASKER

Thank You.