Subform not showing in Read Only Mode

Oimoi

Registered User.
Local time
Yesterday, 18:19
Joined
Jul 17, 2011
Messages
42
Evening, everyone. =)

I have a MainForm with a subform on it, and the latter remains hidden until you check a certain check box (procedure in check box's After Update event, and another in the MainForm's On Current). Everything's working fine here.

Here's where things get wonky.

On a separate custom menu form, I created a command button that opens MainForm in Read Only. However, the subform shows up blank. Just for kicks, I tried setting the Visible property of the subform to Yes, but it didn't help any.

Could anyone point me in the right direction? Many thanks in advance!
 
If there are no records in the subform and the AllowAdditions is set to NO (or the form is opened read-only) then it will not show as there is nothing to show and nothing can be added to it.
 
Wow. Didn't realize my subform had blank records to begin with. Just plugged in some random values, and I can see the subform just fine now. Thanks. =)
 

Users who are viewing this thread

Back
Top Bottom