Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calendar
Message
From
04/05/2000 18:01:14
 
 
To
04/05/2000 11:55:22
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00366140
Message ID:
00366359
Views:
11
Hello Steven,

I display the Calendar in a form with to buttons. One labeled "Use Date", the other "Close Calendar". When the user clicks on the "Use Date" I execute:
HldMonth = ThisForm.Olecontrol1.Month
HldDay = ThisForm.Olecontrol1.Day
HldYear = ThisForm.Olecontrol1.Year
*
HldDate = STR(HldMonth,2,0)+'/'+STR(HldDay,2,0)+'/'+STR(HldYear,4,0)
*
Replace Schedule.FromDate with CTOD(HldDate)
*
"Schedule.FromDate" is obviously the textbox that I'm filling with the date the user picked.

Good Luck. Hope this helps.

Paige
Previous
Reply
Map
View

Click here to load this message in the networking platform