P
pdemercey
Hi,
I'm not sure this is the right group to ask this question...
I would like to build a form acting like a resource usage sheet. Let's
say we have n different items, and I'd like to display the hourly
utilisation for a few items, for 7 days in a form.
Day 1 Day 2 ...
------------------------------------------------------
Item 1 x x x x x x x x x x x x
x x x x x x x x x x x x
x x x x x x x x x x x x
x x x x x x x x x x x x
------------------------------------------------------
Item 2 x x x x x x x x x x x x
x x x x x x x x x x x x
x x x x x x x x x x x x
x x x x x x x x x x x x
-------------------------------------------------------
(hope this will show well in your browser. You should see 4 blocks of
24 x's)
Each of the x's is a cell that can display a color depending on the
usage (say a few different colors for different company departments),
and a click on a cell will add a new usage row in the related table.
What I've done so far is create a subform for 7x24, each 'cell' being
actually one textbox (to change colors) and one transparent button. The
controls have names such as T107 for textbox day 1 hour 07 and B107 for
a button.
I then include this subform in continuous view in a form linked to my
table. Problem is I cannot control the color of one specific textbox
T107 in continuous view - I don't believe continuous view really allows
this, unless I use complicated and dirty workarounds.
I could build a complete form with all items, but it would be rather
long and I would have to redo it each time I add or remove a specific
item. I could not chose to display only items filtered on a specific
category... Not very adatable.
I wondered if there would be a better / simpler way to do this, perhaps
using another control. I'm not sure I can use the datasheet view for
this.
Any hint on this would be greatly appreciated.
Thanks,
Philibert
I'm not sure this is the right group to ask this question...
I would like to build a form acting like a resource usage sheet. Let's
say we have n different items, and I'd like to display the hourly
utilisation for a few items, for 7 days in a form.
Day 1 Day 2 ...
------------------------------------------------------
Item 1 x x x x x x x x x x x x
x x x x x x x x x x x x
x x x x x x x x x x x x
x x x x x x x x x x x x
------------------------------------------------------
Item 2 x x x x x x x x x x x x
x x x x x x x x x x x x
x x x x x x x x x x x x
x x x x x x x x x x x x
-------------------------------------------------------
(hope this will show well in your browser. You should see 4 blocks of
24 x's)
Each of the x's is a cell that can display a color depending on the
usage (say a few different colors for different company departments),
and a click on a cell will add a new usage row in the related table.
What I've done so far is create a subform for 7x24, each 'cell' being
actually one textbox (to change colors) and one transparent button. The
controls have names such as T107 for textbox day 1 hour 07 and B107 for
a button.
I then include this subform in continuous view in a form linked to my
table. Problem is I cannot control the color of one specific textbox
T107 in continuous view - I don't believe continuous view really allows
this, unless I use complicated and dirty workarounds.
I could build a complete form with all items, but it would be rather
long and I would have to redo it each time I add or remove a specific
item. I could not chose to display only items filtered on a specific
category... Not very adatable.
I wondered if there would be a better / simpler way to do this, perhaps
using another control. I'm not sure I can use the datasheet view for
this.
Any hint on this would be greatly appreciated.
Thanks,
Philibert