I have this form for data entry regarding projects.
On the form I have an unbound list box that shows all records for tblPROJECTS. When the user clicks a project, the corresponding data is filled in on the rest of the form (all of those fields ARE bound.)
I also have a subform that shows project updates. Each As the user clicks project ids in the unbound list box, the main form's data is populated showing info AND the subform data is populated showing all of the updates listed (this is in a data grid control.)
My problem is this, I want to protect the records from being updated and tried putting an "UPDATE" command button on the form, but if I set this at the form level and change it with the "on click" event, my list box selection doesn't work.
Is there a solution to this I just can't see? Or am I stuck? All of the postings I've gone through don't approach the issue this way.
TIA
Penelope
PenelopeC
~~~>-/O~~~~~swimming right along
On the form I have an unbound list box that shows all records for tblPROJECTS. When the user clicks a project, the corresponding data is filled in on the rest of the form (all of those fields ARE bound.)
I also have a subform that shows project updates. Each As the user clicks project ids in the unbound list box, the main form's data is populated showing info AND the subform data is populated showing all of the updates listed (this is in a data grid control.)
My problem is this, I want to protect the records from being updated and tried putting an "UPDATE" command button on the form, but if I set this at the form level and change it with the "on click" event, my list box selection doesn't work.
Is there a solution to this I just can't see? Or am I stuck? All of the postings I've gone through don't approach the issue this way.
TIA
Penelope
PenelopeC
~~~>-/O~~~~~swimming right along