By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,674 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

Editor setting to allow spaces in my code?

P: n/a
The editor eliminates spaces in my code. Is there a setting or
technique for stopping this behavior. I want to be able to space out
my code for cleaner reading?
' I Like This:
txtLASTMASTERS = Me.LASTMASTERS
txtCOPYFILES = Me.COPYFILE
txtBEDATAFILES = Me.BEDATAFILE

'But Get This:
txtLASTMASTERS = Me.LASTMASTERS
txtCOPYFILE = Me.COPYFILE
txtBEDATAFILES = Me.BEDATAFILES

Mar 17 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi.
The editor eliminates spaces in my code. Is there a setting or
technique for stopping this behavior.
One may place the code with the extra spaces within a comment, and the VB
Editor will leave the formatting alone. Not that this does one any good.
The code without the extra spaces is required for Access to execute the
programmer's intentions, because the syntax is parsed in a very specific way
that doesn't allow the extra white space many other programming IDE's allow.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
Blogs: www.DataDevilDog.BlogSpot.com, www.DatabaseTips.BlogSpot.com
http://www.Access.QBuilt.com/html/ex...ributors2.html for contact
info.
<Ap******@gmail.comwrote in message
news:11**********************@p15g2000hsd.googlegr oups.com...
The editor eliminates spaces in my code. Is there a setting or
technique for stopping this behavior. I want to be able to space out
my code for cleaner reading?
' I Like This:
txtLASTMASTERS = Me.LASTMASTERS
txtCOPYFILES = Me.COPYFILE
txtBEDATAFILES = Me.BEDATAFILE

'But Get This:
txtLASTMASTERS = Me.LASTMASTERS
txtCOPYFILE = Me.COPYFILE
txtBEDATAFILES = Me.BEDATAFILES

Mar 17 '07 #2

P: n/a
>the syntax is parsed in a very specific way
>that doesn't allow the extra white space many other programming IDE's allow.
That's what I thought. Too bad!

ThankYou for the response.
Mar 17 '07 #3

P: n/a
You're welcome. But if you want an IDE that supports extra white space, be
aware that you can program the front end of the database application in many
other different platforms, but it will take you about three to ten times
longer to do so when compared to Access's RAD environment.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
Blogs: www.DataDevilDog.BlogSpot.com, www.DatabaseTips.BlogSpot.com
http://www.Access.QBuilt.com/html/ex...ributors2.html for contact
info.
<Ap******@gmail.comwrote in message
news:11**********************@n59g2000hsh.googlegr oups.com...
the syntax is parsed in a very specific way
that doesn't allow the extra white space many other programming IDE's
allow.

That's what I thought. Too bad!

ThankYou for the response.


Mar 17 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.