- Local time
- Today, 09:30
- Joined
- Jul 9, 2003
- Messages
- 16,278
I see many beginners with MS Access using field names with spaces in. Access can handle this, it puts square brackets around these "Offensive" objects!
I say "offensive" because they offend me! You see a person paste their sample code in the forum asking why it doesn't work.
You mention that it's not correctly formatted, because the field names SHOULD NOT contain spaces, but you often feel like your advice falls on deaf ears.
It's a rule I've known about since I started practically. I knew spaces caused problem, but I didn't know why, until I read this excellent post:- "MS Access – Sub-Query – Invalid Bracketing"
by Daniel Peneault
Also posted to Nifty Access on Facebook:-
https://www.facebook.com/groups/MS.Access.Hints.And.Tips
I say "offensive" because they offend me! You see a person paste their sample code in the forum asking why it doesn't work.
You mention that it's not correctly formatted, because the field names SHOULD NOT contain spaces, but you often feel like your advice falls on deaf ears.
It's a rule I've known about since I started practically. I knew spaces caused problem, but I didn't know why, until I read this excellent post:- "MS Access – Sub-Query – Invalid Bracketing"
by Daniel Peneault
Also posted to Nifty Access on Facebook:-
https://www.facebook.com/groups/MS.Access.Hints.And.Tips