Chat LIVE With Programming Experts! There Are 23 Online Right Now...

Welcome to Dream.In.Code
Become an Expert!

Join 244,297 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 852 people online right now. Registration is fast and FREE... Join Now!




checkboxes and control box write capability

 
Reply to this topicStart new topic

checkboxes and control box write capability

XenoSophist
25 Aug, 2008 - 10:04 PM
Post #1

New D.I.C Head
*

Joined: 2 Oct, 2007
Posts: 36



Thanked: 1 times
My Contributions
Good day. I am a problem in Microsoft Access 2007. I do not have access to any programming environment except the code builder that comes with Access. The builder opens up in VB and I am ignorant of what to do. Here's my situation. I have 3 control box groups. The first is a checkbox called Multiple_Workcenters, the second is group is name up of textboxes called Primary_Workcenters, Primary_Status, and Primary_Date. The third group consists of textboxes called Secondary_Workcenters, Secondary_Status, and Secondary_Date.

What I am trying to do is that if the Multiple_Workcenters checkbox is checked, the the third group of controls either becomes invisible of uneditable.

Can anyone guide me as to what I need to do?

User is offlineProfile CardPM
+Quote Post


DeCompile
RE: Checkboxes And Control Box Write Capability
27 Aug, 2008 - 05:06 PM
Post #2

D.I.C Head
**

Joined: 20 Jul, 2008
Posts: 249



Thanked: 12 times
My Contributions
I'm unsure if this will work, but being VB based there's probably a good chance of it.

if checkbox1.checked = true then
thirdgroupcontrols.visible = false
end if
User is offlineProfile CardPM
+Quote Post

grantunderland
RE: Checkboxes And Control Box Write Capability
6 Sep, 2008 - 03:49 PM
Post #3

New D.I.C Head
Group Icon

Joined: 14 Jun, 2008
Posts: 23



Thanked: 1 times
My Contributions
DeCompile is pretty close, but VBA is a lil different than VB
CODE
If Me.Check0 = -1 Then
  Me.Frame2.Visible = False
Else
  Me.Frame2.Visible = True
End If

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 7/4/09 04:46PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month