在上下文中指定的非布尔类型的表达式,当我将鼠标悬停在顶行时预期条件见图像:
SELECT Bookings.Date, Bookings.Timebegan, Bookings.Timefinished, Bookings_1.Date, Bookings_1.Timebegan, Bookings_1.Timefinished,
Bookings.RoomID, Bookings_1.RoomID
FROM Bookings,
Bookings AS Bookings_1
WHERE Not Nz(([Bookings_1].[Timebegan]>=[Bookings].[Timefinished]) Or
([Bookings_1].[Timefinished]<=[Bookings].[Timebegan]) Or
([Bookings].[RoomID]!=[Bookings_1].[RoomID]) Or
([Bookings].[ID]=[Bookings_1].[ID]),False)
ORDER BY Bookings.ID, Bookings_1.ID;
有谁有想法吗?