Calendar popup on subform

E

Eric Blitzer

I am using the code from www22.brinmkster.com that upon
clicking a control the calendar pops up. After selecting a
date, the date is inserted into the contol. This works
great on my main form but when trying to add the calendar
popup to a subform I get the following error.

Microsoft can't find the form.....

I know that this is a syntax problem. Can someone lead me
straight.

windows 2000
Office 2000
main form - A-Time-Off-Request
Subform - A-Time-Off-Request-Subform
control on subform for date to be inserted into - DateOff

The command that is not working is
DoCmd.OpenForm "frmCalendar", , , , , ,
Me![A-Time-Off-Request-Subform].[Form].Name & ".DateOff"

Thanks

Eric
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top