Brett Barabash
BBarabash at TappeConstruction.com
Fri May 16 08:09:31 CDT 2003
Bryan, They CAN be different (at least in VB, I haven't tried it in Access). If you want a property that is read only to code outside of your class, you make the Set (or Let) statement Private, and the Get statement Public. -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Thursday, May 15, 2003 7:18 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] On 16 May 2003 at 10:05, Bruce Bruen wrote: > Private Property Set clubname(ByVal iname As String) > Public Property Get clubname() As String Bruce, Your Property Set is Private while your Property Get is public. They can't be different. So you need to change one or the other. -- Bryan Carbonnell - carbonnb at sympatico.ca Out of my mind. Back in five minutes. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software.