Topics Search

Reducing white space (padding) of Text Box field control

Reducing white space (padding) of Text Box field control
Views: 104
Access 2007 is not obeying my request to reduce right-side padding for a right text aligned control. I have gone as far as setting this one field control's Right Margin / Right Padding properties both to 0, the text align is set to right.

Yet Access insists on leaving some white space at the right side of the field control, and the data is large enough it is spilling offthe left edge of the field control.

So, in Access, what should the Right Margin / Right Padding properties control?

Is there another property I have not thought to adjust to be able to reduce field white space?
Sponsored Links:

Similar posts...

 

Quickly Set Form Control Padding

Quickly Set Form Control Padding Icon
Setting Forms in required shape is no less than a laborious work, as you have to adjust each element at the position you want. Access 2010 offers 3 types of padding control to set the padding in Narrow, Medium, and Wide layout.
 

Complicated white space question

Complicated white space question Icon
I have an excel spreadsheet with varying fields (Name, Address, Phone Number, etc.) Each of these fields obviously varies in total characters in the field.

Regardless of the number of total characters in the field, once imported I need access to add WHITE SPACE (Additional Spacing or Empty Character Space) to reflect that the field has whatever amount of Characters I specify.

So for example, my NAME field needs to have a total of 20 Character Size but names such as Brown and Smith have only 5.I need to add 17 SPACES or WHITE SPACE behind that.
 

Access 2007 - Adding Padding to Report control

Access 2007 - Adding Padding to Report control Icon
In Access 2007 does anyone know how to use the Padding properties through code?

I have two textboxes and I have them "Stacked" on a report, I can add padding through the properties box, but not through code, why is that?

Me!Textbox1.BottomPadding = 2

Also, can you reference the "stack" through
 

Flash Textbox Backcolor White and Red

Flash Textbox Backcolor White and Red Icon
I have searched for code to flash the backcolor of a text box but haven't found what I want. I am sure it is a simple timer but I know just enough to be dangerous.

If a user changes a date in a text box (SubmitDate) on form 1 and tabs out of the field, I have code in the AfterUpdate event to update this date change on a text box on form 2 (that is also open) so they stay in sync. I have some code that changes the backcolor of the text box on form 2 to red, then changes it to white, then red again and then back to white so it appears to flash, but it is very inefficient. Is there a simple way to alternate the backcolor from white to red, to white, to red, then back to white with a 1/2 second interval between each color change? I am using DoEvents so I can continue other processes while it changes color
 

White Space at end of Report before Page Number?

White Space at end of Report before Page Number? Icon
I have two reports that were created one from the other (same information for the most part with a few changes to the copied one). On one of them, when I view the Report (Not Print Preview), there is a HUGE amount of white space between the last record and the Page Number.

On the copied report, there is no white space between the last record and the page number.

It doesn't affect the printing of the report, but when a user is looking at the report in Access, they can see the white space andI have been asked why it is doing that (really annoying).

I have compared all the Detail, Header and Footer properties and could not identify any differences that may contribute to this.
 

Why is text box not updating?

Why is text box not updating? Icon
I have a form named frmPaymentDetails with following control:

[DefaultFees] - Text box. Control source is taken from a field in a Table.
[AmountPaid] - Unbound text box control.

Problem: I update the value in DefaultFees by manually typing a new value in the text box. And then I hit a button which calls a subroutine.

Private Sub DefaultFeeUpdateButton_Click()
' Refresh the [Amount Paid] text box
Me.AmountPaid.Value = Me.DefaultFees.Value
Me.AmountPaid.Requery
End Sub

However, inside the subroutine, Me.DefaultFees.Value shows the old value, which I've already overwritten in the text box manually. It is not reading in the new value which I typed...
 

Unbound Text Box Formatting

Unbound Text Box Formatting Icon
I have created an unbound text box on a form. I have set the format properties to transparent for the back style and the border style. Everything looks correct in Design View and Layout View, but when I switch to Form View, the box shows a white background and all the text in the box is highlighted in black. I can click off off the box and unhighlight the text, but there's still a white box. I'm sure I'm doing something wrong
 

Tab Control - Pages

Tab Control - Pages Icon
I have a common text box control which appears on all 4 pages of my tab control. (Common text box control achieved through pasting a text box control onto the tab)

I only want the user to be able to change the data in this text box control if they are on Page 1. If they are on any other Page, then I would like to Lock the text box control.

If there was a Got Focus event for a Page then I could do what I need; but there isn't!

Is there a way to determine which Page of my Tab Control is active
 

White Space in a Report after Hide Duplicates

White Space in a Report after Hide Duplicates Icon
My report is totalling after each procedure type and I have told the properties to 'hide duplicates', but the white space is still showing on the printed report, before the total. How do I remove the white space and keep the totals?

I meant to include that I am using Access
 

Excess white-space in Report

Excess white-space in Report Icon
A legacy Database, using Access 2000, is generating too much white space, effectively adding an extra page to the report. I'd appreciate any assistance in trimming the excess space.