M
michelle
What have I missed in this question?
The variables highestBoxId and travel are declared.
The database in Access is called Photos and it contains the columns eg.
boxId and travelname
which I know contains data. The table consists of 4 rows whith 4
travelnames so it
can not be moore than 1 hit.
Still, after executing this row, highestBoxId, is null. WHY?
highestBoxId = DLookup("max(boxId)", "Photos", "[travelname] = travel")
I appreciate all help
/Michelle
(e-mail address removed)
The variables highestBoxId and travel are declared.
The database in Access is called Photos and it contains the columns eg.
boxId and travelname
which I know contains data. The table consists of 4 rows whith 4
travelnames so it
can not be moore than 1 hit.
Still, after executing this row, highestBoxId, is null. WHY?
highestBoxId = DLookup("max(boxId)", "Photos", "[travelname] = travel")
I appreciate all help
/Michelle
(e-mail address removed)