Well yeah the resource planner would open the form and have the Employees and
the left and the times on the top so these can obviously not be edited.
Crossing these two you would then get an entry for each so those would be
(blank) drop down boxes which the resource planner would then just select
jobs from. (This action would signify a job being allocated to a person)
It will probably just look fancy or whatever but the way i see it is it
should be really simple:
it would prob just run off the tblJob table so each time a job is
"allocated" (as above) to an employee it would basicaly just write the
Employee name in that entry's Employee field.
Again, im open to other suggestions but this jsut makes sense.
I think what im really just asking is how do i get a form with the employee
names on the left and the times at the top and by selecting from the drop
down box it would just allocate the job to that employee at that time (in the
back end all that has to happen is the name of employee should be in that
line's employee field
> Am I right in thinking the resource planner wants to see a blank form?
> What happens to the information in the form the following day? Does it get
[quoted text clipped - 94 lines]
> > > >
> > > > Thanks!
scubadiver - 11 Jul 2007 12:20 GMT
What you want to achieve sounds really straightfoward but, design wise, a
case of head scratching!
I was thinking each employee can have multiple jobs but if your resource
planner is doing it on a daily basis it may not be a problem since it can be
used flexibly)
I think the best thing would be to have a one to many relationship.
In one table you have all your employee information. In the second table you
have your hour fields:
tble_employee
EmployeeID (Primary Key)
field1
field2
etc
tble_booking
EmployeeID (Foreign Key)
Hour1
.
.
.
Hour23
Go to tools->Relationships
Show the two tables and drag the employeeID from one table to the other and
establish the relationship. Ensure referential integrity (sorry if you
already know this).
Then you create a query using these two tables. Select all the fields and
then you can use this query as the source for your form (a query of this type
is hopefully updateable). I would suggest that you change the properties so
that you can't add or delete employees (do this in the employee table).
As far as job info goes you can use the booking information as the source
for the combo boxes. I was going to suggest you could use cascading combos to
ensure there isn't a chance of a job being replicated by mistake in a row but
it depends whether every field is going to filled in.
The catch is that each row is a distinct entity so there is a chance that
two employees could get the same job (by mistake). I think you would have to
put up with this to ensure you can add and delete employee information
otherwise a fixed number of fields for employees will make the DB very
difficult to maintain (especially if the business expands!)
> Well yeah the resource planner would open the form and have the Employees and
> the left and the times on the top so these can obviously not be edited.
[quoted text clipped - 116 lines]
> > > > >
> > > > > Thanks!
ant1983 - 11 Jul 2007 12:32 GMT
Eeeeeeeek!! Did i mention i'm a Novice ova here?? LOL!!
Cheers mate! im gona try that tonight as its on my personal PC and let ya
know tomor!!!
Thanks a mil!!
If ya dont mind (and only if you up for it) I have one more question titled
"Multiple fields using to search" Would be sooo grateful if you can take a
look at it for me!!
Cheers man and chat tomor!
> What you want to achieve sounds really straightfoward but, design wise, a
> case of head scratching!
[quoted text clipped - 164 lines]
> > > > > >
> > > > > > Thanks!
scubadiver - 11 Jul 2007 12:48 GMT
LoL. Take it one step at a time and read my two other responses!
> Eeeeeeeek!! Did i mention i'm a Novice ova here?? LOL!!
>
[quoted text clipped - 177 lines]
> > > > > > >
> > > > > > > Thanks!
scubadiver - 12 Jul 2007 07:56 GMT
Have you sorted out your problem?
I cooked up a database yesterday and it is very straight forward. Would you
like me to send it to you? if you want to, give me your email address like
this so it doesn't get picked up by spam software.
someone . something (at) blah blah . co . uk
> Eeeeeeeek!! Did i mention i'm a Novice ova here?? LOL!!
>
[quoted text clipped - 177 lines]
> > > > > > >
> > > > > > > Thanks!
scubadiver - 11 Jul 2007 12:28 GMT
Oh dear.
the problem with my suggestion is that if there is no information in the
"hour" fields then the names won't appear in the form.
> Well yeah the resource planner would open the form and have the Employees and
> the left and the times on the top so these can obviously not be edited.
[quoted text clipped - 116 lines]
> > > > >
> > > > > Thanks!
scubadiver - 11 Jul 2007 12:32 GMT
My fault.
In the query, click on the line between the tables and choose option 2. This
will give you all the employee names in the form.
As you add or delete employees this form will update itself.
> Well yeah the resource planner would open the form and have the Employees and
> the left and the times on the top so these can obviously not be edited.
[quoted text clipped - 116 lines]
> > > > >
> > > > > Thanks!
Peter Hibbs - 11 Jul 2007 12:37 GMT
Wayne
A Flex Grid Control will probably do what you want. Have a look at -
http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='Flex%20Grid%20D
emo.mdb'
for some examples.
Peter Hibbs.
>Well yeah the resource planner would open the form and have the Employees and
>the left and the times on the top so these can obviously not be edited.
[quoted text clipped - 116 lines]
>> > > >
>> > > > Thanks!
ant1983 - 11 Jul 2007 17:02 GMT
Hey Peter...
Thanks for the link but if i click it i get the following page:
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another.
/Otherdownload.asp, line 32
Please help.
Thanks mate
> Wayne
>
[quoted text clipped - 126 lines]
> >> > > >
> >> > > > Thanks!
Peter Hibbs - 11 Jul 2007 20:05 GMT
Wayne,
Do you mean you get the error when you click on the link (it works OK
for me) or do you mean when you double click on the database file
after you have installed and registered the Flex Grid control.
Peter.
>Hey Peter...
>
[quoted text clipped - 141 lines]
>> >> > > >
>> >> > > > Thanks!
ant1983 - 12 Jul 2007 06:56 GMT
Hey Peter,
Its when i click the link.
Thought it might be our firewall or something but tried it at home last
night and getting the same thing.
Thanks,
Wayne
> Wayne,
>
[quoted text clipped - 149 lines]
> >> >> > > >
> >> >> > > > Thanks!
Peter Hibbs - 12 Jul 2007 09:17 GMT
Hi Wayne.
I have no idea. You could try accessing the Home page at
http://www.rogersaccesslibrary.com/index.htm
click on Other Developer Libraries and look for my name.
If that doesn't work perhaps you should try a different browser (I use
Mozilla Firefox which is free). If you still have problems and you
still want to try the Flex Grid demo then email me at
peter.hibbs@btinternet.comNOSPAM (omit the NOSPAM bit) and I will send
you a copy.
Peter.
>Hey Peter,
>
[quoted text clipped - 160 lines]
>> >> >> > > >
>> >> >> > > > Thanks!