Skip to content
Advertisement

Access VBA string to return a Min & Max date based on matching criteria

I am trying to use a string to get a minimum date from a field (ExpectedTaskStart) in a specified table (tblLiveTasks) using a match on two ID fields (CASEID) from (ExpectedTaskStart) the other (intCaseID) I either get no return or a return of 0. I have used various VBA outlined below but all with same outcome;

I have also tried changing the code SELECT MAX to; DMIN/DMAX but still get no results.

Advertisement

Answer

Try this reduced approach:

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement