D
Daveo
Hi there,
I need to make an "employee tracker" style form where a user can select
a week ending date and then view the tracker for that week.
The data is stored in a table with the following fields:
ID
employee
project
startDate
endDate
obTravelDate
ibTravelDate
.... and a fair few others.
I can run a query that tells me who is where and when based on "Between
[Enter w/e date] and [Enter w/e date]-6) in the startDate field but I
have 2 main problems that I could do with some ideas on:
1 - What if the startDate and endDate both fall outwith the week that
the query looks at? The person is still away on a project and needs to
be represented on the tracker.
In the same vain, what if either the startDate or endDate falls outwith
the week I am looking at? - they dont show up in the query results.
2 - How do I represent it graphically in the form? I did fiddle about
using Duane Hookum's crew rotation schedule and had it working on a
report, but problem 1 above stumped me again. Is manipulating the size
of a text box with VBA the way forward, or should I put 7 unbound text
boxes on the form, who's values are somehow assigned at the time of
running the query using VBA?
I did look at a couple of off-the-shelf employee trackers, but I also
need to show things like which equipment they have with them from our
asset database, and they don't seem to be up to the job/customisable
enough.
Any help/pointers anyone can offer would be greatly appreciated.
Many thanks - David
I need to make an "employee tracker" style form where a user can select
a week ending date and then view the tracker for that week.
The data is stored in a table with the following fields:
ID
employee
project
startDate
endDate
obTravelDate
ibTravelDate
.... and a fair few others.
I can run a query that tells me who is where and when based on "Between
[Enter w/e date] and [Enter w/e date]-6) in the startDate field but I
have 2 main problems that I could do with some ideas on:
1 - What if the startDate and endDate both fall outwith the week that
the query looks at? The person is still away on a project and needs to
be represented on the tracker.
In the same vain, what if either the startDate or endDate falls outwith
the week I am looking at? - they dont show up in the query results.
2 - How do I represent it graphically in the form? I did fiddle about
using Duane Hookum's crew rotation schedule and had it working on a
report, but problem 1 above stumped me again. Is manipulating the size
of a text box with VBA the way forward, or should I put 7 unbound text
boxes on the form, who's values are somehow assigned at the time of
running the query using VBA?
I did look at a couple of off-the-shelf employee trackers, but I also
need to show things like which equipment they have with them from our
asset database, and they don't seem to be up to the job/customisable
enough.
Any help/pointers anyone can offer would be greatly appreciated.
Many thanks - David