ms access - Have checkbox displayed as checked based on query -


in access 2013, there way have checkbox display checked based on query? have searched everywhere , haven't found answer. need have checkbox display checked if record in query results, otherwise stays unchecked.

i know there simple answer this, can't find right combination of words unlock answer google. :)

thanks!

edited add sql of query want bind checkbox to:

select dba_wellzoneintrvlvalue.uwi, dba_wellzoneintrvlvalue.zone_name, dba_wellzoneintrvlvalue.zattribute_name, format([zattribute_value_string],"true/false") zattribute_value dba_wellzoneintrvlvalue inner join well_master on dba_wellzoneintrvlvalue.uwi = well_master.uwi (((dba_wellzoneintrvlvalue.zone_name)="nfx_header") , ((dba_wellzoneintrvlvalue.zattribute_name)="nfx_obo_well")); 

cperkins, hope asking for. it's expression code checkbox having trouble coming with. hoping had add name of query , column checkbox, isn't simple. have:

[qry_obo_wells]![zattribute_value] 

i apologize if seems dumb question, i'm self-taught, there large holes in education in access programming. appreciate taking time this.

okay, discovered standing in canoe, trying hard way.

after thinking cperkins had posted, went form query , added table wanted use checkbox. used iif statement posted in comments obo_well field. tied checkbox obo_well field, , worked.

thank you, cperkins, of help. :)


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -