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

Linking a frame of radio buttons to a text box ! 1

Status
Not open for further replies.

Danyul

Technical User
Jul 5, 2001
36
AU
Hi All,

I have a form on which (among many other controls!) there is a frame of 4 'option buttons' (Radio Buttons) which are mutually exclusive and refer to Friday, Saturday, Sunday and Today.

There is also a text box labeled 'Date'.

The default for 'date' is Date(), I would like this to change if the user clicks on one of the Option Buttons.

The Problem:

I tried the 'On Got Focus' event for the radio button and tried to have it read the frame value - no luck, it returns the last option button pushed, not the most recent one. If I Requery or Refresh the form the frame returns to the default option button (Friday). Similar problems if I use the 'On mouse up' event.

Any ideas?

Many Thanks

Danyul
 
Have you tried using the on-click event for the option group? I believe any click of the constituent radio's will fire the click for the group. JHall
 
JHall,

Much oblidged, now why didn't I spot that !

I appreciate the help

Regards

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top