Author Topic: microsoft access anyone?  (Read 588 times)

0 Members and 1 Guest are viewing this topic.

Offline Stealth

  • Braiiins...
  • 211
microsoft access anyone?
i have a checkbox... and when i click that checkbox, i want it to enable a field ('enable' and 'unlock' the field) so that i can enter it in

for example

[ ] Program 1 *text box*
[ ] Program 2 *text box*

so that when i click the box next to Program 1, it enables the "text box" to be typed in... (it'll be greyed out before)

how do i do that?

 

Offline Stealth

  • Braiiins...
  • 211
Help me dammit

...please

  

Offline Liberator

  • Poe's Law In Action
  • 210
It's been a while...is there a way to associate the text box with the check box? ...sorry, I don't have a database to screw around with and figure it out for ya(assuming I could find my text book)
So as through a glass, and darkly
The age long strife I see
Where I fought in many guises,
Many names, but always me.

There are only 10 types of people in the world , those that understand binary and those that don't.

 

Offline Thorn

  • Drunk on the east coast.
  • 210
  • What is this? I don't even...
Ahhh.. gimme a sec.. .I think I remember how to do this...
[edit] Bah.. Access keeps freezing on me. Sorry. Can't help.
« Last Edit: February 07, 2005, 05:17:58 pm by 322 »

 

Offline Stealth

  • Braiiins...
  • 211
yeah i did it another way :-/

thanks for trying to help though Thorn and Liberator :)

 

Offline Admiral Nelson

  • Resurrecter of Campaigns
  • 211
  • The GTA expects that every man will do his duty.
Use the OnClick event of the checkbox to set the enabled property of the textbox

Me!txtEnabled.Enabled = False

or true as the case may be.
If a man consults whether he is to fight, when he has the power in his own hands, it is certain that his opinion is against fighting.