Solved

Holiday booking system and calculating how many days left

Posted on 2009-05-11
3
924 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

733 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