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 > Hiding/Showing ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 30168 of 30657
Post > Topic >>

Hiding/Showing controlson a continuous form

by RLN <nospamrln@[EMAIL PROTECTED] > May 5, 2008 at 11:36 AM

I have a form that is set to "continuous forms" view.
Several rows of data are shown to the user at the same time.

I want to set FieldX and FieldY to true and show them only if the
txtEmailAddress control is not null and contains an address.

Some rows shown in the detail section of the form will have email
addresses, some will not.  If a row doesn't have an email address,
FieldX & Y's visible property must be set to false.

I tried this on the "Click" event of the Detail Row, but it sets FieldX
& Y to true for all rows, even those that contain an email address:

If not isnull(txtEmailAddress) then
   'email address present; show the fields
   FieldX.visible = True
   FieldY.visible = True
else
   'email address absent; hide the fields
   FieldX.visible = False
   FieldY.visible = False
EndIf

I'm not sure, but is there a way to do this at the column level back in
the table?

Thnx....

*** Sent via Developersdex http://www.developersdex.com
***




 2 Posts in Topic:
Hiding/Showing controlson a continuous form
RLN <nospamrln@[EMAIL   2008-05-05 11:36:41 
Re: Hiding/Showing controlson a continuous form
"Albert D. Kallal&qu  2008-05-06 06:13:37 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan13V112 Fri Jul 4 20:31:24 CDT 2008.