|
Written by Stephen Lebans and modified by Kent Gorrell to also run in 64-bit Access, this impressive utility with source code allows you to save and restore the positions and sizes of tables in the Relationship Window, and give each layout a name.
Kent designed this version to be an add-in so it can be available in any Access database that you use.
UPDATE August 2026. Tool now includes Scaling.
Download the zipped ACCDA with source code to be installed as an Access add-in from Kent's GitHub repository. Updated August 2026 to add scaling.
https://github.com/KentGorrell/oRelationLayout
From the main page, click on the dropdown arrow for
and choose
Download ZIP
Remember to UNBLOCK files you download to remove the Mark of the Web if it is set. Here are steps to do that: https://msaccessgurus.com/MOTW_Unblock.htm
When you have a good layout that you want to save, in the Relationship window:
Lesson #1 is that all tables to be reorganized must be on the digram. What's the easiest way to do this?
It's a good idea to occasionally make a blank database with a good name and import all objects into it. Big problem is that you lose the Relationships diagram layout — now you don't have to.
Make sure you have (import) the oSysRelationLayout table with the saved relationship layout(s) that you want to restore.
New Feature August 2026: Scale Relation Layout to Restore
You spent lots of time laying out the relationships in a database, and the diagram looks great on your computer. Then you give that database to someone with one of those wide, wrap-around monitors and the field lists look like a bunch of chicklets. Now your colleage can choose to Scale a saved layout to Restore.
Conversely, if the diagram was made on a huge monitor, you can tighten it up by reducing the Scale. Scaling only affects the window sizes and positions, not the text size.
The dimensions in the oSysRelationLayout table aren't changed unless you decide to overwrite them. Or you can save a new layout with that scale once the layout is restored if you want to keep it.
https://github.com/KentGorrell/oRelationLayout
Stephen Lebans is one of the greatest Access developers of all time. He contributed numerous impressive utilities and controls to the Access community on Lebans.com, which he thoughtfully keeps live but the site hasn't been updated since 2009.
SaveRelationshipView is one of my favorite tools of Stephen's. It only works in 32-bit Access ... until now.
Kent Gorrell, an Australian Access developer, modified Lebans' SaveRelationshipView utility to also run in 64-bit Access, made it an add-in, and changed the form to launch it. Thanks to Geoff Griffith for his valuable insight, me, and Chris for his great feedback and thorough testing.
https://github.com/Access-Abraxas
~ crystal