Welcome to Dream.In.Code
Getting Help is Easy!

Join 132,395 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,236 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
post 25 Aug, 2008 - 10:04 PM
Post #1


New D.I.C Head

*
Joined: 2 Oct, 2007
Posts: 36


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

Go to the top of the page

DeCompile
post 27 Aug, 2008 - 05:06 PM
Post #2


D.I.C Head

**
Joined: 20 Jul, 2008
Posts: 180



Thanked 6 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

Go to the top of the page

grantunderland
post 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

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/22/08 07:19AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month