Controls not visible!

K

Kan D.

I can view all my controls on a paged subform at design time, and all
control's "visible" properties are set to "true" (yes), but when I click
form view, all controls in the detail section vanish! However, the controls
in the "Form Footer" section appear normal.

Please help me figure out how to get my controls to be visible again.

Note: Nothing in the module modifies the control's visible property.

Thanks,
Kan
 
A

Allen Browne

All the controls in the Detail section of the form disappear if:
a) the form has no records to display; and
b) no new records can be added.

You can demonstrate this with any form by setting these properties:
Data Entry Yes
Allow Additions No

If the form can display the new record, you avoid the problem. Could you set
AllowAdditions to Yes, and cancel the BeforeInsert event instead?

You will not be able to add new records if any of these reasons apply:
Why is my query read-only?
at:
http://allenbrowne.com/ser-61.html
 
F

fredg

I can view all my controls on a paged subform at design time, and all
control's "visible" properties are set to "true" (yes), but when I click
form view, all controls in the detail section vanish! However, the controls
in the "Form Footer" section appear normal.

Please help me figure out how to get my controls to be visible again.

Note: Nothing in the module modifies the control's visible property.

Thanks,
Kan

Does the form have any data?
That is normal behavior if the form's record source is empty.
 
K

Kan D.

Fred,

I can view the subform's controls when I doubl click on it from the forms
collection,.... but I cannot view the subform's controls when I click on the
page it's connected to on the main form. All the other pages/subforms show
their controls correctly.

Still need your help, thanks.

Kan
 
K

Kan D.

nevermind

i figured it out
Kan D. said:
Fred,

I can view the subform's controls when I doubl click on it from the forms
collection,.... but I cannot view the subform's controls when I click on
the page it's connected to on the main form. All the other pages/subforms
show their controls correctly.

Still need your help, thanks.

Kan
 

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