Re: Disable checkbox
- From: "tina" <nospam@xxxxxxxxxxx>
- Date: Sun, 04 Dec 2005 20:04:02 GMT
since you don't say *where* you're running the code, i'm assuming that
you're running it on the Accepted checkbox's AfterUpdate event. that's
correct as far as it goes, but you also need to run the same code on the
form's Current event. that way the correct property values will be assigned
as you move from record to record in the form.
hth
"Alvin" <Alvin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D033E285-5048-4AC3-AE79-7D55A404B6BF@xxxxxxxxxxxxxxxx
> I am posting this again because I don't think it went through the first
time.
> How can I get the following code to work with each individual record in my
> subform?
> It works but it effects check boxes in all records.
> Thanks in advance
> Alvin
> ------------Start My Code---------------
> If Me.Accepted = -1 Then
> Me.Rejected.Enabled = False
> Me.Repair.Enabled = False
> Me.RepairComplete.Enabled = False
> Else
> Me.Rejected.Enabled = True
> Me.Repair.Enabled = True
> Me.RepairComplete.Enabled = True
>
> End If
> -------------End My Code--------------------
.
- Prev by Date: Re: Date entry mmdd
- Next by Date: RE: New to VBA, Search for hole in numeric value using string as a cri
- Previous by thread: Re: Disable checkbox
- Next by thread: Re: Disable checkbox
- Index(es):
Relevant Pages
|