Quantcast
Channel: Project Developer
Viewing all articles
Browse latest Browse all 50

Detect empty recordset returned by filter

$
0
0
I have a vba procedure in Access 2010 that applies a series of filters
to an mpp (MSProj 07).

To determine if no tasks are returned I customarily use:

Dim T As MSProject.Task
..SelectBeginning
If T Is Nothing Then
[do something]
End If

This has always worked for me in the past, but now I'm getting "T Is
Nothing" for all filters, regardless of whether or not tasks are being
returned. Does anybody have any suggestions?

Viewing all articles
Browse latest Browse all 50

Trending Articles