Unanswered: Populating a single bound textbox with multiple check boxes on a separate form
I have one form that allows user to enter data into a table. One of the fields is "State". I would like the user to be able to open a separate form that contains check boxes, one for each state and a "select all" option. Whatever states are checked off on that form would automatically populate into the "State" field on my original form. Ultimately, the text in the text box can be listed as, for example, "MA TX CA NY" and so on.
What is the best way to go about doing this?
I have a separate table that contains two fields, the name of the state and the state abbreviation. Is there a way to automatically populate the "State Selection" form with check boxes using these records? Or would I have to create 50 check boxes manually?
I'm using Access 07. My knowledge of VBA is VERY limited, so I'm hoping there's a non-code way to do this.
For Each oitem In Me.MyListBox.ItemsSelected
bla = bla & oitem & " "
make shour you have the Muilt Select to Extended
hope this help
See clear as mud
the aim is store once, not store multiple times
Remember... Optimize 'til you die!
Progaming environment: Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010 VB based on my own environment: vb6 sp5 ASP based on my own environment: 5.6 VB-NET based on my own environment started 2007 SQL-2005 based on my own environment started 2008 MYLE YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.