Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insert Start End Date for Calendar

Status
Not open for further replies.

BrendaD

Programmer
Jan 26, 2001
25
CA
I am lost!

I want to have an insert form that allows the user to enter only a start and an end date for a recurring Event.

I then want the Calendar to show the Event on all the dates - start, end and all the dates in between.

This seems like a simple procedure but I am stymied.

Where do I begin?

TIA, Brenda
 
"form that allows the user to enter only a start and an end date "
what do u mean? two simple form fields? or are u looking for a JavaScript calendar that will "pop" and user can browse through all the dates?
...not sure If I follow all the way....
All the best!

> need more info?
:: don't click HERE ::
 
I want a Form where the user inputs the Start Date and the End Date of a recurring event - they can input with a textbox (popup calendar optional).

The results would list all the Dates of the Event - ie:

INPUT
Event Name: Test1
Start Date: Oct 8, 2003
End Date: Oct 12, 2003

RESULT (table with repeat region)
Oct 8, 2003 Test1
Oct 9, 2003 Test1
Oct 10, 2003 Test1
Oct 11, 2003 Test1
Oct 12, 2003 Test1

Once I have figured out how to get this to work, I will be putting the info into an Event Calendar.

Thanks again, Brenda


 
smells like while loop
look into this direction:
Code:
Dim DateStart,DateEnd
DateStart= Request.Form("tfStartDate")
DateEnd= Request.Form("tfEndtDate")

set @DateFieldInDB = DateStart
WHILE DateStamp< 'DateStart' set DateFieldInDB= DateStart+1
WEND
something in this sense should work!
All the best!

> need more info?
:: don't click HERE ::
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top