vba lying to me

spinkung

Registered User.
Local time
Today, 15:08
Joined
Dec 4, 2006
Messages
267
hi

i am trying to get he values of some check boxes and put them into an array. I can see on my form that some are checked, other not.

however when i loop through the controls all the check boxes are coming up as -1 even though i know they are not.

when i click the check box i have the following..
Code:
Me.Dirty = False
hzdIcons
Form_Dirty (True)

the hzdIcons is the part where the controls are loops and the check box values placed in an array.

when i click the first check box all is fine. when i click another i get a message saying "The data has been changed, another user edited this record before you attempted to save your changes. Re-edit the record".

Have i done something wrong here or is access taking the biscuit???

It does work sometimes and not others.

Thanks.
 

Users who are viewing this thread

Back
Top Bottom