Calendar Control 11.0 Locked

R

rm

A form contains a Calendar Control 11.0 in the formheader area.

The form is a continuous form.

When no records are present on the form the Calendar Control is
locked.

Allow Edits and Allow Additions is set to true on the form. Enabled =
True, Locked = False is set on the Calendar Control.

I can find no reasonable answer as to why the calendar is locked.

The onclick event contains

Me.lblDate.Caption = Format(calStatusRecordDate.Value, "dd-mmm-yyyy")

However the date will not change.

Help!
 
L

Linq Adams via AccessMonster.com

Your code works fine for me. Your problem does, indeed, indicate that the
form is read-only, with edits impossible.

Two thoughts:

Is this continuous form being used as a subform? Subforms, regardless of
their own property settings, inherit the AllowEdits and AllowAdditions
settings of their
main form.

Also, is this editable? When you do have data in it, can you edit a control
on it? Forms based on certain type of queries are read-only.
 

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