Garraway, Alun
Alun.Garraway at otto.de
Wed Aug 27 08:51:37 CDT 2003
have you tried "True" instead of -1? alun -----Ursprüngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Darren DICK Gesendet: Mittwoch, 27. August 2003 15:07 An: AccessD List Betreff: [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