Ask Experts Questions for FREE Help!
Ask    ||    Answer
 
Advanced  
 

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Programming > Databases > Access   »   hiding controls on a form

 
Thread Tools Search this Thread Display Modes
Question
 
 
#1  
Old Jan 10, 2004, 11:41 AM
rjpohl
New Member
rjpohl is offline
 
Join Date: Dec 2003
Location:
Posts: 1
rjpohl See this member's comment history on his/her Profile page.
Send a message via ICQ to rjpohl
hiding controls on a form

I woould like thide 1 contol on a form based on the info in another form. The contol with the info is "action" and it can have the following 3 inputs 1. Sell 2 Buy and 3 No Sell. If BUY is selected I want to hide the control txtadjustedfinalprice.

I tried the following code under the current event for the form but it didn't work

If Me!Action = "buy" Then
Me.txtadjustedfinalprice.Visible = True
Else
Me.txtadjustedfinalprice.Visible = False
End if

am I using good code, am I using the right event? The user could change the "action" from Buy to Sell or No sell while form is open and I would need "txtadjustedfinalPrice" to react .

thanks for your help, Bob

Reply With Quote
 
     


Your Answer
Email me when someone replies to my answer
Join Login





Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

 
Similar Sponsors


Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Similar Threads
Hiding programs
(8 replies)
My girlfriend has been lying to me (and hiding something from me)...
(24 replies)
Husband not open and hiding things from me
(22 replies)
Parental Controls
(2 replies)
8 mos. old cat, hiding
(2 replies)

Search this Thread

Advanced Search

Bookmarks

Sponsors



Copyright ©2003 - 2009, Ask Me Help Desk.
All times are GMT -8. The time now is 03:37 PM.