bleep-blop
Registered User.
- Local time
- Today, 21:30
- Joined
- Sep 30, 2013
- Messages
- 24
Hi,
Trying to get a Dcount to work. My code so far (not working)
Im using this VBA to prevent a new absence case being created if the employee selected already has a case open.
OracleID is a string
Abstart is a date
Been running round in circles.
Any help would be appreciated.
Trying to get a Dcount to work. My code so far (not working)
Code:
DCount("OracleID", "TblEmpAb", "(OracleID = '" & txtOracleID & "'" & " AND AbStart =#" & Me.txtAbStart & "#")
Im using this VBA to prevent a new absence case being created if the employee selected already has a case open.
OracleID is a string
Abstart is a date
Been running round in circles.
Any help would be appreciated.