I'm trying to make an electronic leave card system for my department at work and I am currently working on a leave entry form.
What I want to do is set a combo box for day type to use a limited value list of FULL;HALF to display whether it is a full or half day to be requested (and I only want a half day to be possible when someone enters a request as a single day, eg say they want 3 and a half days off then they have to enter the three day period and the half day as separate entries)
So to achieve this I thought I could make the value list dependant on the difference between the 'from' and 'to' dates, if the difference is 0 then the value list is HALF;FULL otherwise it is only FULL.
So basically I just need to make the value list come from a formula on the form, can someone tell me how to make this possible?
What I want to do is set a combo box for day type to use a limited value list of FULL;HALF to display whether it is a full or half day to be requested (and I only want a half day to be possible when someone enters a request as a single day, eg say they want 3 and a half days off then they have to enter the three day period and the half day as separate entries)
So to achieve this I thought I could make the value list dependant on the difference between the 'from' and 'to' dates, if the difference is 0 then the value list is HALF;FULL otherwise it is only FULL.
So basically I just need to make the value list come from a formula on the form, can someone tell me how to make this possible?