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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formset

Status
Not open for further replies.

Samalia

Technical User
Jun 7, 2005
46
CA
How would you programmatically call a form in a formset? I want to build a calendar that when you click on a specific date it calls the other form to enter an event with the date already looking at the one the user clicks on. But there are no help files I can find on formsets or the activex calendar. Anyone know?
 
Samalia,

First thing to say is don't use a formset - they are old and tricky to use. You can call a separate form from your calendar form with DO FORM SecondForm WITH

Which ActiveX calendar are you trying to use?


Hope that helps,

Stewart
PS If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Hi Samalia,

I agree with Stewart, don't use formsets, they are a pain to manipulate.

As to the calendar control, just drop it on your form. When you run the form, it will show the current date. When the drop down arrow is clinked a calendar will appear and when a date is clicked the new date will show in the control. You can programmically access the date info, for instance. thisform.olecontrol1.day, day of week, hour, minute, month, and year properties are also available.

Regards,

Mike
 
I'm using the activex control (ole) calendar control 8.0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top