Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2008

    Unanswered: Public Property Let

    Hi all,

    I would like some enlightment on the meaning of below code:

    Public Property Let TableNme (value As String)
    strTableName = value
    strColPersonID=" "
    strColPersonName=" "
    strColDocNo=" "
    End Property

    I am aware of the Public Property Let statement which is it is declaring, in a Class block, the name, arguments, and code that form the body of a Property procedure that assigns (sets) the value of a property.

    I do not quite understand the quotes (" ") meaning in the code. Does it means assigning any value in the strColPersonName?

    Do appreciate some help. Thanks!

  2. #2
    Join Date
    Jun 2004
    Arizona, USA
    It means assigning a space as the string value to the (presumably) string variables.
    "Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
    "I have my standards. They may be low, but I have them!" - Bette Middler
    "It's a book about a Spanish guy named Manual. You should read it." - Dilbert

  3. #3
    Join Date
    Mar 2008
    Thanks loquin! It really answered my doubts!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts