|
-
May 5th, 2005, 10:26 AM
#1
Thread Starter
New Member
Enter Checks a Check Box
I need to have enter check the check box instead of going to the next option in an acess database. Any help is appreciated.
-
May 5th, 2005, 10:43 AM
#2
Re: Enter Checks a Check Box
Can you explain a little more? Is this in a table, form, etc?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 5th, 2005, 10:50 AM
#3
Thread Starter
New Member
Re: Enter Checks a Check Box
in a form. also, i would like one check box to check other boxes in the form.
-
May 5th, 2005, 11:21 AM
#4
Re: Enter Checks a Check Box
For the one checkbox to check others, you would need to write the code behind that checkboxs click event. Then set the other
checkboxes .Value to either True or False depending on the original checkbox's value.
If the checkbox has focus then the spacebar is the default key to check the checkbox. Your saying that you want to change this?
it would be in the checkbox's keydown event. Trap for chr 13 and toggle the value of the checkbox.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 5th, 2005, 11:56 AM
#5
Thread Starter
New Member
Re: Enter Checks a Check Box
 Originally Posted by RobDog888
If the checkbox has focus then the spacebar is the default key to check the checkbox. Your saying that you want to change this?
it would be in the checkbox's keydown event. Trap for chr 13 and toggle the value of the checkbox.
/me slaps forehead. forgot about that. it's been a while. I just wrote a macro to execute on the checkbox selection that checks the rest of the boxes. thanks again.
-
May 5th, 2005, 12:43 PM
#6
Re: Enter Checks a Check Box
Not a problem. 
We all have those days and I like the easy fixes for questions like this
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
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
|