Log in

View Full Version : Block fields when selecting option from combo box



nedy_03
01-11-2007, 11:01 AM
Hi there,

I have a little issue,could u please help me? .. I have a combo box with two options .. If I choose one of it I want some fields to be blocked ... if I choose the otherone the same thing for other fields ..

Thx,
Nedy

OBP
01-11-2007, 12:19 PM
If you can give us some field names and which Combo selections you want to trigger which I will give you some VB code to go in the combo's After update event procedure.

nedy_03
01-11-2007, 12:55 PM
In the attached DB if in the DOM7 field from "FORM1" I choose the option
"Privata" I need the "Dom8" field to be blocked and if I choose the option "Pubblica" I need the "Dom9" filed to be blocked.:banghead:

Thx,
Nedy

nedy_03
01-11-2007, 02:10 PM
HELPPPPP ..... : pray2:

OBP
01-11-2007, 02:19 PM
Sorry I can't post until tomorrow.

OBP
01-12-2007, 07:45 AM
This does what you want (I hope), I have also added the code to the Form's On current event as well.

nedy_03
01-12-2007, 08:06 AM
tHX IT WORKS .. :friends: