A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Commenting SQL Queries



 
 
Thread Tools Display Modes
  #1  
Old July 16th, 2004, 09:23 PM
Kyle B.
external usenet poster
 
Posts: n/a
Default Commenting SQL Queries

I'm a summer-hire writing databases for my employer. I have the slight problem that no-one in my group knows anything about Access and I'll be leaving in 3 weeks. I'd like to document what's going on in a SQL query I just modified, but Access doesn't recognize two hyphens "--" or an apostrophe " ' ".

Please tell me I can add comments to SQL code, or I'll have a lynch mob after me once I return to school.


  #2  
Old July 16th, 2004, 09:46 PM
Dirk Goldgar
external usenet poster
 
Posts: n/a
Default Commenting SQL Queries

"Kyle B." wrote in message

I'm a summer-hire writing databases for my employer. I have the
slight problem that no-one in my group knows anything about Access
and I'll be leaving in 3 weeks. I'd like to document what's going on
in a SQL query I just modified, but Access doesn't recognize two
hyphens "--" or an apostrophe " ' ".

Please tell me I can add comments to SQL code, or I'll have a lynch
mob after me once I return to school.


Better start running, Kyle. You can't add comments to SQL code in
Access. Well, actually, Stephen Lebans has found a clever workaround,
but it's rather elaborate. Have a look he

http://www.lebans.com/addsqlcomments.htm

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


  #3  
Old July 16th, 2004, 09:58 PM
Kyle B.
external usenet poster
 
Posts: n/a
Default Commenting SQL Queries

Thanks Dirk, I was affraid of that. Skimming through the link you sent, I think I'd be better off not trying to explain that I have a script that is used to move coments in and out of the SQL code. That, and I'm sure someone would find a way to hose it up. I'll resort to the binder full of printouts with lots of handwritten notes. ... If I have time... g

Happy weekend,
Kyle

"Dirk Goldgar" wrote:

"Kyle B." wrote in message

I'm a summer-hire writing databases for my employer. I have the
slight problem that no-one in my group knows anything about Access
and I'll be leaving in 3 weeks. I'd like to document what's going on
in a SQL query I just modified, but Access doesn't recognize two
hyphens "--" or an apostrophe " ' ".

Please tell me I can add comments to SQL code, or I'll have a lynch
mob after me once I return to school.


Better start running, Kyle. You can't add comments to SQL code in
Access. Well, actually, Stephen Lebans has found a clever workaround,
but it's rather elaborate. Have a look he

http://www.lebans.com/addsqlcomments.htm

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Server 2000 Stored Procedures to MS Access 2000 Queries CS General Discussion 4 July 15th, 2004 03:27 AM
Imported Queries & Field Names - Attn S.Clark MVP Bruce Running & Setting Up Queries 3 June 14th, 2004 12:14 PM
seeming quirk with creating new queries from a2000 db /WinXP access/WinXPOS SisterSun Running & Setting Up Queries 3 June 9th, 2004 04:01 PM
Exporting Multiple Queries to 1 Excel Workbook with VBA Anthony Running & Setting Up Queries 2 June 3rd, 2004 07:59 PM
Queries painfully slow, some general pointers please? Graham R Seach New Users 0 June 1st, 2004 05:19 AM


All times are GMT +1. The time now is 11:42 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.