> Excellent Crystal. Thanks, I'll give that a go. If I have any more probs I'll
> post back here.
[quoted text clipped - 42 lines]
>>>
>>>Thanks for your help.
Ok I've given this a go and I had it working but I changed something and now
I can't get it back!
Can you clarify what the OptionGroup and ControlName would be?
I have
Private Sub StatusBar_AfterUpdate()
Select Case Nz(Me.OptionGroup.StatusBar)
Case 3
MsgBox "Email customer care"
DoCmd.GoToControl ("cmdCustomerCare")
Case 7
Me.AllowEdits , 0
Case 8
Me.InvoiceNumber.Enabled = False
Me.OrderReference.Enabled = False
Me.Quantity.Enabled = False
End Select
End Sub
Thanks heaps
> You're welcome, Cindy ;) happy to help
>
[quoted text clipped - 52 lines]
> >>>
> >>>Thanks for your help.
Crystal - 23 Feb 2006 04:43 GMT
Hi Cindy,
OptionGroup* is your frame
*(that is what Access calls it if you look in the title bar
of the properties window)
ControlName is the NAME property of your frame
Is StatusBar the name of your frame?
if so, you would use:
Select Case Nz(Me.StatusBar)
you should also have a
Case else
with any statements that would be processed if one of the
above choices was not selected -- unless 3, 7, and 8 are all
of them ;)
... that is, if you want to do something else, like enable
controls
Have an awesome day
Warm Regards,
Crystal
MVP Microsoft Access
strive4peace2006 at yahoo.com
> Ok I've given this a go and I had it working but I changed something and now
> I can't get it back!
[quoted text clipped - 78 lines]
>>>>>
>>>>>Thanks for your help.
Crystal - 23 Feb 2006 04:54 GMT
Hi cindy,
I see where the confusion started...
OptionGroup.controlname
was supposed to be
OptionGroup_controlname
my fingers weren't fast enough for my brain ;)
Have an awesome day
Warm Regards,
Crystal
MVP Microsoft Access
strive4peace2006 at yahoo.com
> Ok I've given this a go and I had it working but I changed something and now
> I can't get it back!
[quoted text clipped - 78 lines]
>>>>>
>>>>>Thanks for your help.
albycindy - 23 Feb 2006 09:40 GMT
Excellento!!! Understand now! Thankyou very much.
> Hi cindy,
>
[quoted text clipped - 96 lines]
> >>>>>
> >>>>>Thanks for your help.
Crystal - 23 Feb 2006 16:57 GMT
You're welcome, Cindy ;) happy to help
Have an awesome day
Warm Regards,
Crystal
MVP Microsoft Access
strive4peace2006 at yahoo.com
> Excellento!!! Understand now! Thankyou very much.
>
[quoted text clipped - 98 lines]
>>>>>>>
>>>>>>>Thanks for your help.