Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
scheduled for absence in appointment system
Old 06-15-2007, 02:29 AM scheduled for absence in appointment system
Average Talker

Posts: 22
Trades: 0
Hi..
i would like to ask a bit about appointment system..
now i face a problem, if the doctor, for example, in wed,27/06/2007 can't work at all, or can only work for 12.00-15.00? i'm quite confuse with this case, since i record each doctor's schedule in dayName.. so, how i access the specific date?
right now, my dbase is:
appointment(appId, staffId, patientId, timeFrom, date, duration)
schedule(staffId, dayId, timeFrom, timeEnd, defaultInterval)
day(dayId, dayName)

thank's for your attention
moccacinoe is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-28-2007, 10:05 PM Re: scheduled for absence in appointment system
Experienced Talker

Posts: 37
Trades: 0
I'm confused... Do you want to know how to block a day or schedule a fake appt for a doctor? I follow your first two sentances but get lost with "so, how i access specific date?"

I'm not quite sure what you mean by that. It might be easier to explain using data rather than just the data structure.
c0ry is offline
Reply With Quote
View Public Profile
 
Old 07-02-2007, 04:25 AM Re: scheduled for absence in appointment system
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,520
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Theoretically you could add the id number to the start date, IF you know what date your records started on and you have every day recorded.

If you can't meet both these conditions then you can't correlate dayname to a specific date.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to scheduled for absence in appointment system
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.52716 seconds with 12 queries