K
Kaushik
Hi Everyone,
Say I have 100 records that are coming from the record source query.
Each of these records have fields named "ObjNumber" and
"RCSub1". "RCSub1" is a boolean field and it's value gets reflected in
"RCCheck1" check box. As I have 100 records so 100 "RCCheck1" check boxes
will generate. Now I have to see each "ObjNumber" field and if the value of
any record in those 100 records is "16" then the corresponding CheckBox will
be disabled.
I tried with forms_Current event but problem is that this event is
encountered only once in time of opening and only if it finds the first
record to be "16" then it is making all the checkboxes disabled. But I have
to check each record and depending on their value I have to enable or disable
the check box.
I tried your solution but current event not at all generating any new
record so at the time of opening the If loop is encountered and the control
flow is getting out.
Also the current event of the form is fired only once in time of opening,
how come I can check for "ObjNumber" field for 100 records there.
Please Let me know If You have any solutions
Thanks and Regards
Kaushik
Say I have 100 records that are coming from the record source query.
Each of these records have fields named "ObjNumber" and
"RCSub1". "RCSub1" is a boolean field and it's value gets reflected in
"RCCheck1" check box. As I have 100 records so 100 "RCCheck1" check boxes
will generate. Now I have to see each "ObjNumber" field and if the value of
any record in those 100 records is "16" then the corresponding CheckBox will
be disabled.
I tried with forms_Current event but problem is that this event is
encountered only once in time of opening and only if it finds the first
record to be "16" then it is making all the checkboxes disabled. But I have
to check each record and depending on their value I have to enable or disable
the check box.
I tried your solution but current event not at all generating any new
record so at the time of opening the If loop is encountered and the control
flow is getting out.
Also the current event of the form is fired only once in time of opening,
how come I can check for "ObjNumber" field for 100 records there.
Please Let me know If You have any solutions
Thanks and Regards
Kaushik