|
-
Aug 5th, 2005, 10:01 AM
#1
Thread Starter
Addicted Member
Check Box Problems
Hi guys,
What code will allow you to carry out an action based on whether or not a Check Box on a form is ticked?
So far, I've been using a check box called Chk1 and a command button called Cmd554.
I've been using the following code in the Cmd554_Click() event procedure -
VB Code:
If Radio.Value = True Then
MsgBox "Ok"
End If
But that just brings up an error saying "You entered an expression that has no value" and highlights the
line of the code.
Any help would be apprecitated.
Thanks
"'Oh, hello Mr. Crick! What do you think of Jeffrey Archer?' Clip-clip-clip! Oh, come on! Who are you kidding? You wait til I'm mayor, you'll see how tough I am! Christ almighty...."
-
Aug 5th, 2005, 10:05 AM
#2
Re: Check Box Problems
VB Code:
If Check1.Value = vbChecked Then
MsgBox "Checked"
End If
Has someone helped you? Then you can Rate their helpful post. 
-
Aug 5th, 2005, 10:24 AM
#3
Thread Starter
Addicted Member
Re: Check Box Problems
Tried that, same error. Thanks for the suggestion, though.
Any ideas?
"'Oh, hello Mr. Crick! What do you think of Jeffrey Archer?' Clip-clip-clip! Oh, come on! Who are you kidding? You wait til I'm mayor, you'll see how tough I am! Christ almighty...."
-
Aug 6th, 2005, 07:19 PM
#4
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|