I am trying to find a range of dates from a user input such as beg date and ending date. I get and error when trying to search the date. this happen when it tries to refresh the data. the database is connected through the databound controls in vb. Also I have two fields one with the appointment date and one with the appointment. I need to be able to send a message to the user that the appointment time that he is entering in the appointment textbox is already taken for any given date.