• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

10.1. Comments

We have already discussed the fact that comments are important. Any text that follows an apostrophe is considered a comment and is ignored by Access. For example, the first line in the following code is a comment, as is everything following the apostrophe on the third line:

' Declare a recordset variable
Dim rs As Recordset
Set rs = CurrentDb.OpenRecordset("Names")   ' Get recordset for Names


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint