---------------------------------------------------- roomname,schedfrom,schedto, openslotstart, openslotend OR 1 700 1700 07/15/2002 17:01 07/15/2002 18:01 OR 2 700 1700 07/15/2002 07:00 07/15/2002 08:01I need to be able to filter the result to display only rows where the hour portion of the OpenSlotStart is between the schedfrom and schedto.
oCommand.Connection = oConn dvRooms = VFPToolkit.vfpData.SqlExecute(oConn, oCommand, "deptview") VFPToolkit.vfpData.SqlDisConnect(oConn) dvRooms.RowFilter = "datepart(DateInterval.Hour,OpenTimeEnd)*100 < OpenTimeEnd"