Results 1 to 4 of 4
  1. #1
    4 Star Lounger
    Join Date
    May 2003
    Location
    Manchester, Gtr Manchester, England
    Posts
    552
    Thanks
    0
    Thanked 0 Times in 0 Posts

    option group (2000)

    Hello I have an option group with two fields thus value 1 and 2. I need to unselect the group if a certain sequence of options have been selected, thus

    If Me![Business_Input] = 1 And Me.Customer = 2 Then

    Me!contact.Enabled = True

    ElseIf Me![Business_Input] = 1 And Me.Customer = 3 Or 4 Then

    Me!contact.Value = 2

    Else

    Me!contact.Value = Null

    End If


    On the above code it is contract that I want unselecting, I have tried setting the value to anyting other than 1 or 2 yat it doesn't unselect on my form?


    Thanks Darren.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: option group (2000)

    Is the option group bound to a field?
    If so, what type of field (number, ...)?
    Have you tried setting the value of the option group to 0?

  3. #3
    4 Star Lounger
    Join Date
    May 2003
    Location
    Manchester, Gtr Manchester, England
    Posts
    552
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: option group (2000)

    Hi, yes it is bound to a muber field, have tried setting to 0.

    Thanks

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: option group (2000)

    I never use muber fields <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    It should work that way; it is hard t say what prevents it from working without seeing your database. Could you post a stripped down copy? See <post#=401925>post 401925</post#> for instructions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •