Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form button - Visible and Not Visible

Status
Not open for further replies.

101287

MIS
Apr 8, 2006
189
US
I have a form that has a detail line that could occurs 20 times or less. Everytime that a line is build a button is included. I would like to be able to make this button visibile or not based on a condition. Is there anyway that I can check each line on the form and make the button visible or not before displaying it.

Guidance will be helpfull.

Luis
 
If you have a continuous form, this is not possible. Only bound controls can have conditional properties. You could tinker with a bound textbox, the click event and conditional properties.

 
whatabout a continous form that has bound controls? Will that enable me to make the button visible or invisible?

Please let me know and thank you for guidance.

Luis
 
Your are correct. The control is bound but the buton is not bound. Does this means that there is no way to determine location in the form for the button, correct?

Luis
 
The comments I have made only apply to a continuous form, if that is what you are using, you cannot change the properties of an unbound control for one record, only for all of them.

 
Thank you for your patience and collaboration. Finally I understand.

Luis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top