Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft Access > Problem making ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 29816 of 31576
Post > Topic >>

Problem making things visible

by "noe1818 via AccessMonster.com" <u39419@[EMAIL PROTECTED] > Apr 1, 2008 at 07:16 PM

Here's my code:
If Me![Gender] = "Male" Then
           Me.[B1].Visible = Me.[age] < 13
           Me.[B3].Visible = Me.[age] > 12
       
Else
            Me.[B2].Visible = Me.[age] < 13
            Me.[B4].Visible = Me.[age] > 12
End If

I'm to get it so that if the person is (1st) male and (2nd) under 13
textbox
B1 is shown, and if the're >12 then B3 is shown. The else part is if
the're
female with the same age groups.

The problem is that code works for "male", but when "female" is chosen,
the
correct "female" box is shown along with both "male" boxes.
What do I need to change?

-- 
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/databases-ms-access/200804/1
 




 4 Posts in Topic:
Problem making things visible
"noe1818 via AccessM  2008-04-01 19:16:24 
Re: Problem making things visible
"Larry Linson"   2008-04-01 19:35:30 
Re: Problem making things visible
Wayne Gillespie <bestf  2008-04-01 22:04:47 
Re: Problem making things visible
Patrick A <parkins@[EM  2008-04-02 06:03:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 1:25:09 CST 2008.