muchjubble
New member
- Local time
- Today, 12:44
- Joined
- Oct 27, 2012
- Messages
- 9
Hey guys, I'm new here so a big HELLO
to all who are reading this. I'm really glad to be here as there is so much I want to learn.
I wonder if anyone can help me with this?
I have 7 subforms, each containing 30 textboxes. Each field represents a half hour slot, in a 15 hour day. The fields are populated in two ways: 1. from linked tables from an online booking system and 2. user input on the forms. There are 3 field values that are constant on the website and when this data is pulled into the form I want to change the backcolor of the textbox. Now, as these entries are always for one hour but our forms need to show half hour slots, to allow for user entries, I need to change the backcolor of the textbox being evaluated plus the next one in line, to indicate the hour is booked.
I can do this of course with conditional formatting, but that would mean adding in approx. 400 rule expressions. Unless there is a way of referring to a textbox control without having to give its name? And then the following half hour field's textbox?
I tried looping through the controls but again couldn't figure out a way of referencing the next one in line.
Any help would be fantastic
/muchjubble
I wonder if anyone can help me with this?
I have 7 subforms, each containing 30 textboxes. Each field represents a half hour slot, in a 15 hour day. The fields are populated in two ways: 1. from linked tables from an online booking system and 2. user input on the forms. There are 3 field values that are constant on the website and when this data is pulled into the form I want to change the backcolor of the textbox. Now, as these entries are always for one hour but our forms need to show half hour slots, to allow for user entries, I need to change the backcolor of the textbox being evaluated plus the next one in line, to indicate the hour is booked.
I can do this of course with conditional formatting, but that would mean adding in approx. 400 rule expressions. Unless there is a way of referring to a textbox control without having to give its name? And then the following half hour field's textbox?
I tried looping through the controls but again couldn't figure out a way of referencing the next one in line.
Any help would be fantastic
/muchjubble