Mark said:
I am currently designing a database that will link
a table containing peoples' names, job titles etc
to a plan of where they are sat.
So the fields in 1 table include:
name
title
department
seat number
my problem is that when I try to make another form
that contains a plan of the office I cannot link
it to the above table so it shows names next to
each seat number.
Understandably it only shows one record at a time
and cannot show all names against all seats on 1
picture at the same time.
is there a way to do this??
- - -
Mark,
Did you want to create an image of the tables
showing positions and occupied seats and names
at each seat?
First of course you need to have a database table
that identifies which seat numbers correspond to
which seating table.
Fields:
Seat Number - the seat number
Table Number - the number of the physical table
This is true whether you want
to have a graphical representation or not.
One good way to represent the result might be to use
a Tree control. You can have the root items be the
tables and the children would be the individuals at each
table. You might even allow users to drag / drop to move
the seated people from one table to another. The MS TreeView
control may work for this ( it comes free with Access) or you
may want to choose another control such as our own TList
in order to display multiple columns ( show the person's
name in one column, his department in another, and his title
in another ). TList will also make the Drag/Drop process
easier to code up.
For a more a graphical representation you might
want to consider using our MetaDraw control - this is
a special kind of Picture Box allowing you to dynamically
create a picture - you can add images to represent the tables
and position as desired in the room. You can also add images
for each seat, and text labels to specify the person sitting
in the seat. You can set up hotspots so user moving mouse
over a seat or clicking on a seat can get additional information
like the persons department name, title, etc, or you might color
code the names and seats. You can also allow end-users to
dynamically move the tables and/or the people.
-----
* * Please include a copy of this note with your reply
Jeff Bennett
(e-mail address removed)
Bennet-Tec Information Systems, Inc
50 Jericho Tpk, Jericho, NY 11753
Phone 516 997 5596, Fax - 5597
WWW.Bennet-Tec.Com
RELIABLE Component Software
and Software Development Services
* TList/Pro * ALLText HT/Pro * MetaDraw *
====================== ======================