shaun.bauer
New member
- Local time
- Today, 14:00
- Joined
- Sep 16, 2009
- Messages
- 1
Hi All
I have a problem at work where I need to alter queries in Access. Usally these queries are huge and involve unions and other tricky things that the Design editor can't handle so I am left with the SQL. I am pretty good with SQL, but anyone who has tried to edit large queries in the Access SQL editor would be feeling my pain.
Now I know that if I format the SQL, close and return, Access will put it back to a big block of data, but I was thinking that maybe I could write a module that I call from the toolbar which, when I click, makes the data more readable (don't mind if I have to do it on every open). After some googling, I found plenty of ways to edit SQL queries, but nothing that would do it right in front of me.
Does anyone know of a way to edit sql via a module within the editor, or know of somewhere that I can get a module that will already do what I need?
Many thanks
I have a problem at work where I need to alter queries in Access. Usally these queries are huge and involve unions and other tricky things that the Design editor can't handle so I am left with the SQL. I am pretty good with SQL, but anyone who has tried to edit large queries in the Access SQL editor would be feeling my pain.
Now I know that if I format the SQL, close and return, Access will put it back to a big block of data, but I was thinking that maybe I could write a module that I call from the toolbar which, when I click, makes the data more readable (don't mind if I have to do it on every open). After some googling, I found plenty of ways to edit SQL queries, but nothing that would do it right in front of me.
Does anyone know of a way to edit sql via a module within the editor, or know of somewhere that I can get a module that will already do what I need?
Many thanks