Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8364161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:21:58+00:00 2026-06-09T12:21:58+00:00

I have a lot of SQL at work in MS-Access, and I need to

  • 0

I have a lot of SQL at work in MS-Access, and I need to formatted so that it’s human readable. The issue is when I change between views I end up with the SQL being condensed down into something that I can’t read.

How do I force SQL to retain its ‘shape’ when I go to other views?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T12:21:59+00:00Added an answer on June 9, 2026 at 12:21 pm

    I found a hack, here. The secret lies in enclosing your query inside a dummy query. Like so:

    SELECT * FROM (SELECT   <-----here
    Table1.Field1,
    Table1.Field2
    FROM
    Table1
    
    WHERE
    Table1.Field2 = "Yes") AS query1 <-----here
    

    I’ve indicated where and how you wrap the code. The only issue I can see is if you wanted to edit the code in design view, then it doesn’t seem to pick the enclosed code up at all.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A have a database on MS-SQL Server 2008 that is growing a lot, year
I have a lot of SQL queries like this: SELECT o.Id, o.attrib1, o.attrib2 FROM
I have a lot of difficulties in trying to translate this SQL query to
I´m using linq to sql and I have a lot of tables with foreign
in my Java project I have a lot of JasperReports reports with complex SQL
I am new to LINQ to SQL, but have done a lot of database
I have to work with a legacy system based on SQL Anywhere 5, db
We have recently had to do some work with an OpenEdge database that a
This is linq-to-sql I have a lot of different classes all doing the same
I have a table in a SQL Server 2005 Database that is used a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.