Hello all you helpful tekkies! I'm back with more questions!
I have 3 tables in my database: JuryMain, SpecialCodes, and JurorSpecial. JuryMain has a primary key of JurNum; SpecialCodes has a SPCode and SPDesc; JurorSpecial tracks which jurors have which special codes (JurNum, SPCode). I have a form with TabSheets one of which is Special Items. I'd like to run a query when the form is created to add DBcheckbox items for each of the SpecialCodes DESCRIPTIONS (Hearing Impaired, First Week Only) and when the juror information special tab is selected check the boxes from the JurorSpecial table. So if I select Joe Blow, the information form opens. When I select the Special Tab, check any boxes in which the special codes for Joe Blow from the JurorSpecial Table match the SpecialCode SPCODE. And reversely update the JurySpecial Table when any boxes are newly checked. I'm not even sure this is possible, is there some other way to accomplish it if it's not?
I found some code here for creating a button on the form at runtime and i'm going to try and modify that, but I'm not clear on how and where I'm suppose to call my CreateCheckBox function from!
Thanks for any help!
Leslie Leslie
landrews@metrocourt.state.nm.us
I have 3 tables in my database: JuryMain, SpecialCodes, and JurorSpecial. JuryMain has a primary key of JurNum; SpecialCodes has a SPCode and SPDesc; JurorSpecial tracks which jurors have which special codes (JurNum, SPCode). I have a form with TabSheets one of which is Special Items. I'd like to run a query when the form is created to add DBcheckbox items for each of the SpecialCodes DESCRIPTIONS (Hearing Impaired, First Week Only) and when the juror information special tab is selected check the boxes from the JurorSpecial table. So if I select Joe Blow, the information form opens. When I select the Special Tab, check any boxes in which the special codes for Joe Blow from the JurorSpecial Table match the SpecialCode SPCODE. And reversely update the JurySpecial Table when any boxes are newly checked. I'm not even sure this is possible, is there some other way to accomplish it if it's not?
I found some code here for creating a button on the form at runtime and i'm going to try and modify that, but I'm not clear on how and where I'm suppose to call my CreateCheckBox function from!
Thanks for any help!
Leslie Leslie
landrews@metrocourt.state.nm.us