View Single Post
  #23 (permalink)  
Old July 19th, 2005, 03:53 PM
SerranoG SerranoG is offline
Friend of Wrox
Points: 4,007, Level: 26
Points: 4,007, Level: 26 Points: 4,007, Level: 26 Points: 4,007, Level: 26
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Lansing, Michigan, USA.
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

You're putting the code in the ON CLICK event. Put them on the AFTER UPDATE event. Because they're checkboxes, you don't have to be explicit, i.e. "If Me.EURO = True Then". You can just use a the shortcut, "If Me.EURO Then". You don't disable them, you're just checking/unchecking them.

Private Sub GBP_AfterUpdate()

    Me.EURO = Not Me.GBP

End Sub

Private Sub EURO_AfterUpdate()

    Me.GBP = Not Me.EURO

End Sub


Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
Reply With Quote