Dsum not working- invalid use of null

ozdemirozgur

Registered User.
Local time
Today, 11:51
Joined
Apr 29, 2011
Messages
47
My Dsum function is not working but seems nothing wrong with the null data.

DSum("[NumofRoom]", "RoomDetails", "[RoomId] = 'Main!Id' and [Pos] = 'D' and [Year] = 2000"))
 
Try:
DSum("[NumofRoom]", "RoomDetails", "[RoomId] = '" & Id & "' and [Pos] = 'D' and [Year] = 2000"))
 

Users who are viewing this thread

Back
Top Bottom