Re: Can't assign to read-only property

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"Anna" <colleen1980@xxxxxxxxx> wrote
What i do change in the
class clsAccountInfo so that Next_Contact_Date will be set in the
loop?

I am astonished at your tenacity. It seems you have little to no
background in programming, yet you are undertaking a major
editing task. It just seems like your doing exploritory brain surgery
without having gone to med school, and asking the audience what
to do next!

The answer is obvious to the most casual programmer that
your class needs both the Get and Let methods to both read
and save the data you desire....


Public Property Get Next_Contact_Date() As Date
Next_Contact_Date = dmNext_Contact_Date
End Property

Public Property Let Next_Contact_Date(ByVal Value As Date)
dmNext_Contact_Date = Value
End Property

See if that gets you a little farther along.

....And be careful with that scalpel!

<g>
LFS



.