Solved

Holiday booking system and calculating how many days left

Posted on 2009-05-11
3
902 Views
Last Modified: 2012-06-22
I am creating a holiday booking system using SharePoint lists and customised ASP pages.

I have two lists one that is a list of bookings and another that holds information about the employee such as holiday entitlement etc.

What I need to achieve is a running total that will take the holiday entitlement minus the booked holidays. Any one any idea how to achieve this

0
Comment
Question by:dwelldon
3 Comments
 
LVL 51

Accepted Solution

by:
Ted Bouskill earned 50 total points
ID: 24361493
Sharepoint lists aren't a substitute for a relational database.  It can be done but it takes a lot of work.  Generally what you need to do is hide direct access to the lists and publish custom pages that are used for data entry and to combine the data using the Data View Web Part which can be managed using Sharepoint Designer (which is now free)
0
 
LVL 6

Assisted Solution

by:ramuar1981
ramuar1981 earned 50 total points
ID: 24373784
for this u  can create a  one more column in the list holiday entitlement that will contain the remaining no of holidays (that u asked entitlement -booked)

Create a Synchronous event in the booked list which will check the value of the column Remening from the list holiday entitlement , and if that is >0 than it will permit u to go ahead with the booking more.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now