I am working on an attendance record sheet. Which I have created a drop box of selecting different shift name, like E4=evening 4pm. However, I would like to default fill in roster in and roster out time by the selected result in the drop box. I tried to use an If clause :
If(DatacardValue15.Selected.Shift="M4", "0400"
It only worked for one shift, how can I make it for different shift fill in different roster time.