Results 1 to 2 of 2
  1. #1
    jheintz57 is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    28

    If Statements with user entry too

    I have 2 groups of option buttons. One has 4 buttons and the other 2. What I am trying to do it populate one of the 2group option buttons when a particular option from the 4group is chosen. I also need to be able to independently chose either of the 2group options. IE if it is a hazardous waste, than the "Hazardous Material" group has the "yes" option selected. IF it is a different waste, the "Hazardous Material" will be what ever the user chooses.
    This is what I have so far:
    Code:
    Private Sub Waste_Group_AfterUpdate()
    If Me.Waste_Type = 2 Then
    Me.Haz_Mat = Yes
    
    
    End If
    End Sub


  2. #2
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    any question?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 8
    Last Post: 06-30-2010, 10:57 PM
  2. SQL statements from VBA
    By John Southern in forum Programming
    Replies: 12
    Last Post: 05-16-2010, 01:07 PM
  3. IIF Statements
    By JDA2005 in forum Queries
    Replies: 8
    Last Post: 07-07-2009, 04:24 PM
  4. Help!!! user friendly forms/date entry
    By megank in forum Access
    Replies: 3
    Last Post: 03-31-2009, 09:47 AM
  5. If statements
    By Ezeecopy in forum Access
    Replies: 0
    Last Post: 03-24-2009, 04:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums