|
-
Oct 20th, 2001, 11:26 AM
#1
Thread Starter
Fanatic Member
Check Box
Hi Everyone,
I have a check box inside of one of the fields in an Access Database. How can I select that field through VB an know whether or not the check box has been selected or not? Thanks for any help.
-
Oct 20th, 2001, 11:28 AM
#2
-= B u g S l a y e r =-
VB Code:
If rs("CheckBoxFieldName") Then MsgBox "Selected"
-
Oct 20th, 2001, 11:29 AM
#3
PowerPoster
If it's just a solitary check box you might like to consider putting it somewhere better like the registry.
If not, then just use ADO to retrive the value. If it's -1, then it's checked, otherwise it isn't. You might need to convert it using Abs() if you intend on putting the value into a checkbox on a VB form.
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
|