Combining Unbound Controls

A

Alex H

Hi
Withina report, I set the field value of an unbound control by way of a
Case statement -eg: Me!GroupLevel.ControlSource = "Service Type"

Based on the same Case statement, I also set the Caption for the the
unbound control - eg: Me!GroupLabel.Caption = "Service Type Supplied:

Purely asthetic, but with two controls it is hard to get them to line up
properly. Is it possible to combine the two controls into one.

Thanks

Alex
 
A

Allen Browne

You cannot combine separate controls into one.

You can set their properties such as Left, Right, Top, and Width.
 
M

Marshall Barton

Alex said:
Withina report, I set the field value of an unbound control by way of a
Case statement -eg: Me!GroupLevel.ControlSource = "Service Type"

Based on the same Case statement, I also set the Caption for the the
unbound control - eg: Me!GroupLabel.Caption = "Service Type Supplied:

Purely asthetic, but with two controls it is hard to get them to line up
properly. Is it possible to combine the two controls into one.


If GroupLevel is the name of a text box (a bad idea because
GroupLevel is the name of a report property), you could do
this:

Me!GroupLevel.ControlSource = _
"=""Service Type Supplied: """ & [Service Type]
 
Top