Adding a record programatically

C

Colin Ward

How do I add record programatically to a read only form
so that the controls on the form are visible? Right now I
have a Browse Contacts form which is read only and
because there are no records, the controls on the form
are not visible. is it possible to add data to the form
agt run time so that the controls are visible?
 
E

Elwin

If you change the 'AllowAdditions' property of your form
to 'Yes' I believe you'll see your controls again. Since
all your controls are 'Disabled' due to the form's read-
only nature this shouldn't cause you any problems.
 
E

Elwin

If you change the 'AllowAdditions' property of your form
to 'Yes' I believe you'll see your controls again. Since
all your controls are 'Disabled' due to the form's read-
only nature this shouldn't cause you any problems.
 
C

Colin Ward

Hi Elwyn.

this is the first thing I looked at and the
AllowAdditions property is set to True. However, am I
right in thinking that setting the Open Mode to Read-Only
in code overrides the property settings or is it the
opposite?

Colin
 

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