I am using Access 2003 to create an appointments system which holds
appointments at 15 minute intervals, i.e 09:00, 09:15 etc. The system
has two tables, one table has Times, and formatted to time, this field
is the primary key, the second table is the booking table which has
three fields, Date, Time, Client. Date and Time are primary keys. The
time field in the time table is joined to the time field in the booking
form, which creates a one to many relationship. I have two queries,
one query is based on the bookings table, and shows the bookings that
have been made, and the second query has the table Times and the
bookings query, and are linked with an inner join from left to right.
This shows which time slots are available on a particular day. The
booking form is based on the booking table, but I have changed the Time
field into a combo box, and is pointed in the direction of the query
with the available times. If I save and refresh each booking I find
this works well, with the booked times disappearing from the available
list.
The problem I have is this. I want to introduce a user table, like in a
hairdressers, where more than one stylist can access their time slots
to make a booking. I have tried creating a list of staff in a separate
table and having a link table to bring the date and time together for
each member of staff, and make both of these fields (Staff, Time)
primary keys. The booking table will not allow me to create a link
between the fields in this table and the time and staff field in the
booking table. It says it is "inderminate" and won't allow me to
enforce referential integrity. I have also tried creating the whole
table using auto number for primary keys in each table and I find this
brings up lots of error messages.
Could anyway give me any information on how to extend the system for
more than one user or point me in the direction of a website or a book.
I don't have much experience in reading and writing code - I tend
to make things work with command buttons and form operations.
Any help would be appreciated......Ann 1 1857
Is this ABSOLUTELY necessary? I ask because if you impliment MSOutlook
it comes with calendar functionality that will do something similar to
this. No need to reinvent the wheel, so to speak. There are also very
effective calendars (HalfMoon comes to mind) which can probably do this
as well.
If it absolutely, positively needs to be in Access, try adding a
"StaffID" field in your Date/Time/Client table. See if you can string
along the ID, and if so then just create another table with StaffID and
StaffName and link it to the ID field. pa****************@hotmail.com wrote:
I am using Access 2003 to create an appointments system which holds
appointments at 15 minute intervals, i.e 09:00, 09:15 etc. The system
has two tables, one table has Times, and formatted to time, this field
is the primary key, the second table is the booking table which has
three fields, Date, Time, Client. Date and Time are primary keys. The
time field in the time table is joined to the time field in the booking
form, which creates a one to many relationship. I have two queries,
one query is based on the bookings table, and shows the bookings that
have been made, and the second query has the table Times and the
bookings query, and are linked with an inner join from left to right.
This shows which time slots are available on a particular day. The
booking form is based on the booking table, but I have changed the Time
field into a combo box, and is pointed in the direction of the query
with the available times. If I save and refresh each booking I find
this works well, with the booked times disappearing from the available
list.
The problem I have is this. I want to introduce a user table, like in a
hairdressers, where more than one stylist can access their time slots
to make a booking. I have tried creating a list of staff in a separate
table and having a link table to bring the date and time together for
each member of staff, and make both of these fields (Staff, Time)
primary keys. The booking table will not allow me to create a link
between the fields in this table and the time and staff field in the
booking table. It says it is "inderminate" and won't allow me to
enforce referential integrity. I have also tried creating the whole
table using auto number for primary keys in each table and I find this
brings up lots of error messages.
Could anyway give me any information on how to extend the system for
more than one user or point me in the direction of a website or a book.
I don't have much experience in reading and writing code - I tend
to make things work with command buttons and form operations.
Any help would be appreciated......Ann
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Pramod |
last post by:
Experts
I am also trying to create appointments for Outlook users on a
specific Day and time. I was told you can't create appointments for
others (but only for the user who is logged on).
Is...
|
by: dave |
last post by:
I would like to read ms exchange calendar appointments through the web services provided with ms exchange. Does anyone have any experience/code to read appointments from an individuals calendar with...
|
by: gil |
last post by:
I initially tried building a coded system where numbers 1 through 10
referenced a certain type of recurring appointment, and would then call a
specific function for each, but as more appointments...
|
by: steve |
last post by:
Hi All
I am writing a program for a gymnasium for membership control
It is the first time I have had to deal with appointment diaries and I want
to know the best way to store recurring...
|
by: VB Programmer |
last post by:
Here's the scenario: 3 different pcs in a doctors office. 2 doctors with 2
seperate appointment calendars. All 3 pcs need to be able to see, real
time, both doctors calendars and add, remove,...
| |
by: Kosmos |
last post by:
Good afternoon everyone, just wondering if anyone knew if it's possible to send meetings or appointments through email when you run VBA or SQL code in Access 2003? The following is the code I've been...
|
by: keri |
last post by:
Hi everyone,
After numerous failed attempts at this I am now trying again to solve
this problem. I really would appreciate ANY help as I have been
stumped with this for weeks and weeks!
I...
|
by: Stephen B. Burris Jr. |
last post by:
In my database I need to keep the offices calendar up to date with the
current information that my database is tracking. To do this I am
entering events as appointments. Entering them into...
|
by: mattkorguk |
last post by:
Hi,
Following the introduction of an appointment booking system in Access I've now given myself another issue.
As I'm sending lots of appointments out I'm also then getting lots of the same...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |