G
Guest
any comments greatly appreciated. vba/subforms, etc... any method to
get end result. i'm building a scheduling system and i need to show a
'grid' of employee names as the first column heading followed by a
dynamic number of work weeks (dates). dynamic meaning the number of
work week columns to show isn't predefined. employees will enter how
many hours they are planning to work that week. i was hoping to do it
with a query or other bound object so i don't need a submit button,
etc. i'm simplifying a bit but now my table is holding the data like:
id | name | weekbegindate | hours
1 | Tom | 8/14/06 | 32
1 | Tom | 8/21/06 | 40
3 | Fred | 8/14/06 | 40
3 | Fred | 8/21/06 | 40
etc...
i'd like the interface to ultimately look like
Name | 8-14-06 | 8-21-06 | 8-28-06 ...
Tom | 32 | 40
Fred | 40 | 40
ok, so i guess i lied a bit about not aggregated. it is grouping by the
person's id. but the data to be updated isn't manipulated. if there is
a 2 part key (id & date) it should still know what row to update right?
there may be 30 - 50 date columns so a union query would be really
messy. i'm hoping there's a way to make an updateable query that is
easily created with some sort of translation/pivot.
thanks again.
mark
get end result. i'm building a scheduling system and i need to show a
'grid' of employee names as the first column heading followed by a
dynamic number of work weeks (dates). dynamic meaning the number of
work week columns to show isn't predefined. employees will enter how
many hours they are planning to work that week. i was hoping to do it
with a query or other bound object so i don't need a submit button,
etc. i'm simplifying a bit but now my table is holding the data like:
id | name | weekbegindate | hours
1 | Tom | 8/14/06 | 32
1 | Tom | 8/21/06 | 40
3 | Fred | 8/14/06 | 40
3 | Fred | 8/21/06 | 40
etc...
i'd like the interface to ultimately look like
Name | 8-14-06 | 8-21-06 | 8-28-06 ...
Tom | 32 | 40
Fred | 40 | 40
ok, so i guess i lied a bit about not aggregated. it is grouping by the
person's id. but the data to be updated isn't manipulated. if there is
a 2 part key (id & date) it should still know what row to update right?
there may be 30 - 50 date columns so a union query would be really
messy. i'm hoping there's a way to make an updateable query that is
easily created with some sort of translation/pivot.
thanks again.
mark