Sub Form Confusion

Stemdriller

Registered User.
Local time
Today, 20:43
Joined
May 29, 2008
Messages
187
:banghead:Hi All

Hope someone can help me out.

I have a form and a sub form

The sub form on it's own is fine, but when I place it into a form I lose the Heading and Border.

It's taken me all morning and I cannot figure out why?

Pls see attached examples

Regards
Gareth
 

Attachments

Perhaps you could get the desired effect by creating a label control in the Header Section of the subform
 
Hi Bob,

thanks for responding

Already tried that, even if i place a caption in the title, when the sb form is opened on it's own it's fine but again in the sub form even this caption does not show?
 
Hi Bob,

thanks for responding

Already tried that, even if i place a caption in the title, when the sb form is opened on it's own it's fine but again in the sub form even this caption does not show?
Yes, I know, but that is not what I suggested. I said, "Perhaps you could get the desired effect by creating a label control in the Header Section of the subform." I said nothing about setting the "Caption" property.
 
I have not got a Header Section active just the 'Detail'.

I have added a Form Header and Page Header and tried placing a label in both if that's what you mean. The form will display Detail, Form and Page Header but will not show the border.

GW
 
To change the appearance of the subform's border, you would need to alter some properties of the subform control on the main form. The properties to change are:
Special Effect
Border Style
Border Width
Border Color

An example can be seen in the attached file.

In this file I have also set the BackColor property of the SubForm's Header Section.
 

Attachments

Last edited:
Bob

Couldn't do it, so in the end I took the sub form out of the main form, and changed the docde to call it up outside the form. A bit more work involved i suppose in hindsight should'vr done that from the start. Just don't like to give up.

Many thanks for trying to help, really appreciate your time

Gareth
 
Gareth

I don't like to give up either.
What was it that you couldn't do?
Did the attached file give the desired effect? If so, you could post a copy of your db and I will try to change it for you.
 
Hi Bob

I have attached a stripped down version of the database. If you run the 'frmAddPermit, it will complain about various missing forms but will eventually fire. Place a 2 in the 'Number in Party' field and then click onto Area and Description.

This will fire another form, by clicking 'Continue with Permit' will open the Form in questin without it's borders.

Any help would be greatly appreciated.

Thanks

Gareth
 

Attachments

Gareth

I can only look at your db if you post it in A2003 mdb format.
 

Users who are viewing this thread

Back
Top Bottom