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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Right or wrong way of getting the same result on a form in code 1

Status
Not open for further replies.

KennyUK

Technical User
Sep 13, 2001
38
0
0
GB
Hi,

I just wondered if anyone has opinions on the following or if there is an established "Right or wrong" way of doing things.

I am setting various field propertys on a form depending on which button of an option group the user selects. I have discovered that I can do this in one of two ways, A) using the buttons "On mouse down or up" events or B) Using a modual that uses If and else (and so on) depending on the option groups frame value.

Both work excellent for me but I just wondered if there is a right or wrong way of doing this.

Regards,

Kenny
 
My opinion is that there is no right or wrong way of doing things - if it works for you then do it! There are however elegant and inelegant solutions... Robbo ;-)
 
Hi Robbo,

Thank you for taking the time to reply - Its always interesting and educational to see how you experts do things.

I agree with the Inteligent and elegant comment, sadly I have found (maybe due to a lack of knowledge) that the two do not always go hand in hand.

Thanks again,

Kenny
 
Well Kenny, thanks for the expert tag, but it's probably not justified! Enthusiastic amateur is how I'd describe myself! Robbo ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top