On Thu, 09 Aug 2007 22:20:01 GMT, Karl wrote:
How do you set the width of a control in the detail section of a report
using the On Format event for the detail section?
If [SomeControl] = "Whatever" Then
[SomeControl].Width = 2 * 1440
Else
[SomeControl].Width = 1*1440
End If
Note: All measurements are in twips (1440 per inch) so the above code
would chanbge the width from 1 inch to 2 inches if the criteria is
met.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail