Kamis, 27 November 2014

Re: [MS_AccessPros] Prompt notes in VBA

 

Robin-


Malheureusement (unhappily), you cannot put comments in SQL.  Use the single quote to add comments in VBA - including comments about building SQL in VBA.

John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications 
SQL Queries for Mere Mortals 
(Paris, France)




On Nov 27, 2014, at 10:14 PM, Robin Chapple robinski@westnet.com.au [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:

Thanks John,

That is the word that I forgot - comment.

Does this apply to SQL in a UNION query? I need to identify the various steps.

Cheers,

Robin


At 28/11/2014 08:02 AM, you wrote:
 

Robin-

Do you mean adding a comment to code? Start a line with a single quote:

' Open the "A" form
DoCmd.OpenForm "A"

John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications
SQL Queries for Mere Mortals
http://www.viescas.com/
(Paris, France)

On Nov 27, 2014, at 9:54 PM, Robin Chapple robinski@westnet.com.au [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:

I need to have a text record in some VBA code and I have forgotten
the technique.

The intention is to describe the function of each piece of code.

A search on 'notes' produces too many answers that are not related.

How do I do that?

Many thanks,

Robin Chapple

------------------------------------
Posted by: Robin Chapple <robinski@westnet.com.au>
------------------------------------

------------------------------------

Yahoo Groups Links


__._,_.___

Posted by: John Viescas <johnv@msn.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (4)

.

__,_._,___

Tidak ada komentar:

Posting Komentar