John Colby
jcolby at colbyconsulting.com
Wed Aug 27 08:42:59 CDT 2003
use ! me!chkxxxx . is for properties of an object. For example me!Chk.visible John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren DICK Sent: Wednesday, August 27, 2003 9:07 AM To: AccessD List Subject: [AccessD] A2K:Change of Value Not working Hello all I am getting the "You can't assign a value to this object" error with the following code If Me.chkRequestorsToNote <> 0 Then Me.chkRequestorsSeen = -1 <====Error on this line Else 'do nothing End If Both Check boxes exist on the form. Both are bound to fields that exist in the underlying table Yet when I make the checkboxes unbound this code works. I have also tried the dot value property as well eg Me.chkRequestorsSeen.Value = -1 Still no good. What am I missing? Many thanks in advance Darren _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com