Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2004
    Posts
    14

    Unanswered: 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??

  2. #2
    Join Date
    Nov 2003
    Location
    Christchurch, New Zealand
    Posts
    1,618
    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()

  3. #3
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •