Hi,
I am using DataSource as Excel File. File contains columns such as Start Date,End Date,Reservation and other columns. I added label below DatePicker which display message when User selects Weekend days for reservation or when User selects the date that previous user reserved. As mentioned above,I would like to display message if reservation is canceled,so other user can reserve the date. Reservation column contains "Y", "N" ,"". I don't want to display message when Reservation column contains "Y". However, when Reservation contains "N" or " " , the message should be displayed. I am not sure how to achieve this. I have below code in my Text property of the label.
If(Text(DatePicker1.SelectedDate,"[$-en-US]dddd") = "Saturday" || Text(DatePicker1.SelectedDate,"[$-en-US]dddd") = "Sunday", "You can not sign in at sat or sun",If(Day(DatePicker1.SelectedDate) in col3.Value ,"Select an other date this is reserved",""))
Thanks in advance for your time and efforts!