I am not a programmer by trade so i'm hoping some of you will be able to give me a hand.
I have a text field called txtdaysworked. In this field the workers weekly schedule is as follows XMTWTFX and so on depending on what days they have off. Apart from this there is a series of 7 text boxes, each corresponding to the days of the week and the hours the employee worked for that week. So for example there is txtSunHours, txtMonHours etc.
What i want is for each instance of XMTWTFX the txtMonHours, txtTueHours, txtWedHours, txtThuHours, txtFriHours fields will fill with a value of 8 for hrs worked. Obviously if they worked SMTWTXX i'd want all fields except txtFriHours and txtSatHours to fill with a value of 8.
I'm sure there is an easy way to do this such as declaring a variable for the days worked box and on every instance of that variable filling the approporiate text boxes but not being a programmer that is something i am fairly new at. so if you guys can help me with the code and where to put it i'd really appreciate it.
thanks,
Chris
I have a text field called txtdaysworked. In this field the workers weekly schedule is as follows XMTWTFX and so on depending on what days they have off. Apart from this there is a series of 7 text boxes, each corresponding to the days of the week and the hours the employee worked for that week. So for example there is txtSunHours, txtMonHours etc.
What i want is for each instance of XMTWTFX the txtMonHours, txtTueHours, txtWedHours, txtThuHours, txtFriHours fields will fill with a value of 8 for hrs worked. Obviously if they worked SMTWTXX i'd want all fields except txtFriHours and txtSatHours to fill with a value of 8.
I'm sure there is an easy way to do this such as declaring a variable for the days worked box and on every instance of that variable filling the approporiate text boxes but not being a programmer that is something i am fairly new at. so if you guys can help me with the code and where to put it i'd really appreciate it.
thanks,
Chris