Topics Search

Reducing white space (padding) of Text Box field control

Reducing white space (padding) of Text Box field control
Views: 91
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:

More topics

 

Quickly Set Form Control Padding

Preview
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

Preview
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.
 

Complicated white space question

Preview
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. My question:

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
 

Flash Textbox Backcolor White and Red

Preview
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 colorchange? I am using DoEvents so I can continue other processes while it changes color.
 

Access 2007 - Adding Padding to Report control

Preview
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

Preview
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?

Preview
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.
 

White Space in a Report after Hide Duplicates

Preview
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

Preview
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.
 

Why is text box not updating?

Preview
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...