Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 7th, 2006, 02:31 PM
Authorized User
 
Join Date: Jul 2004
Posts: 46
Thanks: 0
Thanked 1 Time in 1 Post
Default Auto Indent

When I was writing Access script in Access 95 (God! Am I that old?) there was a great utility that auto-indented the script to insert a tab sdpace on the lines between if...EndIf, Do.. Loop etc loops. Does anyone know of a similar utility that does the same for Access 2002/3? I would also be greatful if anyone could tell me how to show line numbers in my code.

Many thanks


 
Old July 17th, 2006, 10:09 AM
Authorized User
 
Join Date: Jun 2006
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am not sure if this is what you're looking for, but in the VB editor, if you click on Tools -> Options -> Editor -> Tab Width, you can set how much the "auto indent" should be. If, however, you are wondering if the editor registers and "if" and then automatically moves the code in the following line one indent more than the "if" line, I don't know if that's possible. Same for the line numbers! Sorry if this didn't help much.
Kriti






Similar Threads
Thread Thread Starter Forum Replies Last Post
DW Indent Add-In crmpicco Dreamweaver (all versions) 3 April 18th, 2007 03:29 AM
Auto Execution !!! dpkbahuguna ASP.NET 1.0 and 1.1 Basics 0 February 1st, 2007 01:37 AM
Auto Refresh and Auto Delete deontae45 VB.NET 2002/2003 Basics 1 September 29th, 2006 04:53 PM
"Indent" field in gridview template. wirerider ASP.NET 2.0 Basics 0 March 1st, 2006 12:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.