Quantcast
Channel: Modules & VBA
Viewing all articles
Browse latest Browse all 21

DLookup does not return correct value

$
0
0
I have a problem opening a form filtered to a particular record. The form is opened by obtaining a values for respondentID, QuestionnaireID and ResponseSessionDate in a dialog. When all selections are made these are used to identify the record in ResponseSession using a DLookup. The combination of values obtained is unique.

Using the dialog I can open the form for some records correctly, whereas for others it does not.

The Dlookup is:
Code:
        intSessionID =...

Read more

Viewing all articles
Browse latest Browse all 21

Trending Articles