What’s the difference between borders and gridlines?
Why are both borders and gridlines used to demarcate the controls?
What are the relation between (top, bottom, left, right) padding and (top, bottom, left, right) margin?
What’s the gridline? Is it the gridline normally shown in the Desgin View (see the screenshot)?
Thanks for your help.
Armstrong
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Border vs. gridline
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Border vs. gridline
- This topic has 17 replies, 3 voices, and was last updated 15 years, 9 months ago.
AuthorTopicWSarmsys
AskWoody LoungerAugust 7, 2009 at 7:07 pm #461740Viewing 1 reply threadAuthorReplies-
WSHansV
AskWoody LoungerAugust 8, 2009 at 5:08 am #1172706Grid points and gridlines on a form or report as in your screenshot are displayed in design view only; they help you to place and align controls accurately. They are not displayed when you open the form or report to view data.
Access 2007 has a new set of properties for gridlines of a control; the padding properties are associated with these. Since I don’t have Access 2007, I don’t know anything about them.
Borders are used to demarcate the edges of controls visually; they are displayed in design view and when viewing data. You can apply a variety of 3D effects, line styles, line widths and line colors to borders.
The top, left, bottom and right margins of a control determine the space between the edges of the control and its contents. For example, if you set the left margin of a text box to 0.3 cm, the text will start 0.3 cm from the left edge of the text box, even if it is left-aligned.
-
WSjohnhutchison
AskWoody Lounger -
WSarmsys
AskWoody LoungerAugust 9, 2009 at 8:22 pm #1172824I have seen these properties sitting the in the Properties box, but not used them nor know what they do. I found something here .
The fact that an Access expert didn’t know about these properties won’t surprise me. It’s not documented in Access online help. It’s neither mentioned nor discussed by 99% of Access 2007 books. It seems the borders are located inside the gridlines. What troubling me is when I adjust the top/bottom/left/right padding, I see no changes of distance between the text boxes whatsoever.
Armstrong -
WSjohnhutchison
AskWoody LoungerAugust 10, 2009 at 7:35 am #1172860It seems the borders are located inside the gridlines. What troubling me is when I adjust the top/bottom/left/right padding, I see no changes of distance between the text boxes whatsoever.
Here is another example. The Borders are solid, and are inside the Gridlines that have various patterns.
The Padding seems to control the distance between the borders and the gridlines. The margins seem to control the distance between the borders and the text. -
WSarmsys
AskWoody LoungerAugust 10, 2009 at 9:29 am #1172876Here is another example. The Borders are solid, and are inside the Gridlines that have various patterns.
The Padding seems to control the distance between the borders and the gridlines. The margins seem to control the distance between the borders and the text.Hi John,
Thanks for your painstaking effort in explaining the relation between the paddings and margins. And your illustration is the best in the world. On the other hand, the following is Access 2007’s online help:
Access Developer Reference Attachment.BottomPadding Property Gets or sets the amount of space (in inches) between the attachment and its bottom gridline. Read/write Integer.It makes no sense to me.
Thanks for your help.
Armstrong -
WSarmsys
AskWoody Lounger -
WSHansV
AskWoody Lounger -
WSarmsys
AskWoody LoungerAugust 10, 2009 at 5:37 pm #1172945HansV,
Thanks for your annotation. However, your annotation doesn’t show the way to adjust the gap between two text boxes. For a given record source, there are scores of text boxes. Then, how could I adjust the gaps between the text boxes? Changing left/right padding won’t help.
Armstrong -
WSHansV
AskWoody LoungerAugust 10, 2009 at 5:49 pm #1172946However, your annotation doesn’t show the way to adjust the gap between two text boxes.
It wasn’t intended to do that – I just wanted to clarify the meaning of the padding constants. They specify the distance between the borders and the gridlines of a control. They have nothing to do with the distance between controls.
Earlier versions of Access had tools to align and distribute controls, and to increase or decrease the distance (horizontal or vertical) between controls. I have no idea how that works in Access 2007.
-
WSarmsys
AskWoody LoungerAugust 10, 2009 at 5:59 pm #1172948It wasn’t intended to do that – I just wanted to clarify the meaning of the padding constants. They specify the distance between the borders and the gridlines of a control. They have nothing to do with the distance between controls.
Earlier versions of Access had tools to align and distribute controls, and to increase or decrease the distance (horizontal or vertical) between controls. I have no idea how that works in Access 2007.
Hi HansV,
Thanks for your fast reply. Thanks for adding clarity. Both Access 2003 and 2007 have the same tools. Rather, the core question here is whether there is a Property like “left/right padding” and “Grid X/Y” to adjust the distance between the adjacent text boxes.
Armstrong -
WSHansV
AskWoody Lounger -
WSarmsys
AskWoody Lounger -
WSjohnhutchison
AskWoody LoungerAugust 10, 2009 at 5:57 pm #1172947Then, how could I adjust the gaps between the text boxes?
To adjust the gaps between text boxes you just drag the text boxes, or resize them.
However, in Access 2007 there is something that often gets in the way of that: Layouts.
If the textbox is part of a layout, Access does not let you put gaps between textboxes. If you reduce one, it automatically increases the one next to it to fill in the gap.
So every time in create a form or report, I select all the controls then click Remove on the Arrange tab. This does not delete the controls from the form, but removes them from the Layout so you have individual control of their size and position.(All this has nothing to do with Gridlines and Borders)
-
WSarmsys
AskWoody LoungerAugust 10, 2009 at 6:06 pm #1172951To adjust the gaps between text boxes you just drag the text boxes, or resize them.
However, in Access 2007 there is something that often gets in the way of that: Layouts.
If the textbox is part of a layout, Access does not let you put gaps between textboxes. If you reduce one, it automatically increases the one next to it to fill in the gap.
So every time in create a form or report, I select all the controls then click Remove on the Arrange tab. This does not delete the controls from the form, but removes them from the Layout so you have individual control of their size and position.(All this has nothing to do with Gridlines and Borders)
Hi John,
At least, first of all, you confirm Borders and Gridlines have nothing to do with the gaps between adjacent text boxes.
Actually, I have been doing exactly what you suggest after designing form hundred times. As mentioned in your post, it’s a tedious process, first the tabular/Stocked layout must be removed. Then before adding/deleting text boxes, the tabular/stacked layout must be enabled to take advantage of the automatic features.
Thanks for your help.
Armstrong -
WSjohnhutchison
AskWoody LoungerAugust 10, 2009 at 6:20 pm #1172955Then before adding/deleting text boxes, the tabular/stacked layout must be enabled to take advantage of the automatic features.
I never enable it again. I completely ignore the automatic features. (I am not even sure what they are any more, but I have found them annoying so I just pretend they don’t exist.)
-
WSarmsys
AskWoody LoungerAugust 10, 2009 at 6:13 pm #1172953
-
-
-
-
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Network Issue
by
Casey H
1 hour, 3 minutes ago -
Fedora Linux is now an official WSL distro
by
Alex5723
4 hours, 13 minutes ago -
May 2025 Office non-Security updates
by
PKCano
4 hours, 39 minutes ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
6 hours, 35 minutes ago -
pages print on restart (Win 11 23H2)
by
cyraxote
5 hours, 50 minutes ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
8 hours, 46 minutes ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
8 hours, 48 minutes ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
16 hours, 9 minutes ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
31 minutes ago -
Asking Again here (New User and Fast change only backups)
by
thymej
1 day, 3 hours ago -
How much I spent on the Mac mini
by
Will Fastie
2 hours, 55 minutes ago -
How to get rid of Copilot in Microsoft 365
by
Lance Whitney
4 hours, 41 minutes ago -
Spring cleanup — 2025
by
Deanna McElveen
1 day, 9 hours ago -
Setting up Windows 11
by
Susan Bradley
4 hours, 25 minutes ago -
VLC Introduces Cutting-Edge AI Subtitling and Translation Capabilities
by
Alex5723
1 day, 4 hours ago -
Powershell version?
by
CWBillow
1 day, 5 hours ago -
SendTom Toys
by
CWBillow
2 hours, 16 minutes ago -
Add shortcut to taskbar?
by
CWBillow
1 day, 9 hours ago -
Sycophancy in GPT-4o: What happened
by
Alex5723
2 days, 2 hours ago -
How can I install Skype on Windows 7?
by
Help
2 days ago -
Logitech MK850 Keyboard issues
by
Rush2112
1 day, 7 hours ago -
We live in a simulation
by
Alex5723
2 days, 16 hours ago -
Netplwiz not working
by
RetiredGeek
2 days, 2 hours ago -
Windows 11 24H2 is broadly available
by
Alex5723
3 days, 4 hours ago -
Microsoft is killing Authenticator
by
Alex5723
6 hours, 25 minutes ago -
Downloads folder location
by
CWBillow
3 days, 11 hours ago -
Remove a User from Login screen
by
CWBillow
2 days, 6 hours ago -
TikTok fined €530 million for sending European user data to China
by
Nibbled To Death By Ducks
3 days, 2 hours ago -
Microsoft Speech Recognition Service Error Code 1002
by
stanhutchings
3 days, 2 hours ago -
Is it a bug or is it expected?
by
Susan Bradley
1 day, 4 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.