To dim certain fields on a form

Imranis

Registered User.
Local time
Today, 22:38
Joined
Sep 11, 2000
Messages
26
I have a form with 11 fields and one of them is named code. This code field contains data from 1 to 4. and each etry like 1 is related to 5 or four fields of the form. I wish that when I feed 1 only those fileds should be visible which are related with this and others should be dim and cursor/tab should not touch them. Is there any VB code for this and for form where it should be entered. Thanks.
 
after updating the code field you enabled those fields you don't nead :
me.namefield.enabled = false
 
Thanks. But I still need little bit of help. I forget to say that I enter data through form. What I wish is that when I may enter in code field 1, only those blank fields which are related to 1 should be visible and other fields should become dim. The second thing is where I should write that code, in property of field or property of form. Thanks again.
 

Users who are viewing this thread

Back
Top Bottom