Solved

Holiday booking system and calculating how many days left

Posted on 2009-05-11
3
889 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:
tedbilly earned 50 total points
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 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