If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Microsoft MonthView Control SP4

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-16-04, 09:07
dcp3364 dcp3364 is offline
Registered User
 
Join Date: Aug 2004
Posts: 14
Microsoft MonthView Control SP4

Is there a way to retrieve in asp code the current value that the Microsoft MonthView Control is set to? I have tried the obvious, month1.Value, month1.Date, month1.CurrentDate. My goal is to use a Date Control to Allow a user to select a date, and then retreive that value to update a database field. Anyone??
Reply With Quote
  #2 (permalink)  
Old 12-19-04, 20:25
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
A bit of a guess here since I have never used this (just looked at the help file though)....

Month1.SelectedDate.Month() or perhaps Month(Month1.SelectedDate)

You could possibly use Month1.SelectedMonthText()
Reply With Quote
  #3 (permalink)  
Old 01-18-05, 11:00
Danu Danu is offline
Registered User
 
Join Date: Jan 2005
Posts: 1
Quote:
Originally Posted by dcp3364
Is there a way to retrieve in asp code the current value that the Microsoft MonthView Control is set to? I have tried the obvious, month1.Value, month1.Date, month1.CurrentDate. My goal is to use a Date Control to Allow a user to select a date, and then retreive that value to update a database field. Anyone??

Hey, thatīs pretty easy.
Step 1: MonthView1.Value = Date 'Shows the current date in your calendar.

Step 2: Cells(ROW; COLUMN).Value = DateClicked 'Puts the selected date into the spcified cell


Greetings,
Martin
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On