Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 15th, 2007, 06:25 AM
Authorized User
 
Join Date: Jan 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default don't know how to call it

i have a program that making bookings/reservations.
i can make a reservation from 10-01-2007 till 20-01-2007.
But i need that after the reservation the date will be saved as
10-01-2007
11-01-2007
12-01-2007
13-01-2007
14-01-2007
""
20-01-2007
Does some one knows??

 
Old January 16th, 2007, 12:28 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Do you really need to STORE these dates? Can you just generate them when you want to report?
If you have the start and stop dates (10-01-2007, 20-01-2007) then you can always generate these dates in a report at runtime.



mmcdonal
 
Old January 17th, 2007, 04:02 AM
Registered User
 
Join Date: Jan 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No ,
In my table i have the product id, the start_date and the end_date
as primary key.
So the problem is that if i rent a book from 10-10-2007 till 20-10-2007 That is a combination that can be fill onley one time.
But the combination of the same book end the date between 10-10-2007 en 20-10-2007 can be storage.
So i have to save al the between data to my product, that way i can't rent a book twice in one period.









Similar Threads
Thread Thread Starter Forum Replies Last Post
Call Outlook snufse Visual Studio 2005 0 March 11th, 2008 11:10 AM
How to Call Sub in ASP dpkbahuguna Classic ASP Basics 8 January 31st, 2007 03:46 PM
Call a Function stealthdevil Access VBA 2 November 2nd, 2006 10:38 AM
how to call the form? hussar91404 C# 2 June 11th, 2006 08:10 AM
How to call a sub in a sub busybee ASP.NET 1.0 and 1.1 Basics 4 March 22nd, 2006 01:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.