Adding a record programatically

  • Thread starter Thread starter Colin Ward
  • Start date Start date
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?
 
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.
 
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
 
Back
Top