I have a control on my report that I want to shift the margin over .5" when there is a value in another control. If that other control is empty I want the margin of this control to stay left justified. If it's not null then I want to move the left margin .5". How do I write this in vba code and which event of the report should this go in?
You probably won't see a difference unless the control is full. Try making the offset larger so that you can see it do something. Perhaps, LeftMargin is not the property you want to adjust.
Open in new window