B
buzz
I'm not sure if I'm approaching the overall situation correctly but I need a
resolution to this.
I have an input form that users utilize and select from values of a list
box. This form has a command button on it that runs code to take the values
of the list box and formulates it into a text string based on what the user
selected to save to a table (such as "batch, name, model"). This part works
without any issues.
Now what I am working on is a different form that allows the user to modify
these saved values still utilizing a text box. What I want to do is to be
able to read that string back into a list box and display it for the users to
edit. The listbox will be based off a table/query so each value that is in
the string (separated by a space and comma) will be already be in the list
box.
Is there a way that I can read in this text string and highlight the values
in the listbox where the users can select/unselect the values? When they are
ready to save it, I will re-run the original commands to parse the list box
back to the text string for the value to be stored on a table but presenting
the previously stored selected values is my issues.
resolution to this.
I have an input form that users utilize and select from values of a list
box. This form has a command button on it that runs code to take the values
of the list box and formulates it into a text string based on what the user
selected to save to a table (such as "batch, name, model"). This part works
without any issues.
Now what I am working on is a different form that allows the user to modify
these saved values still utilizing a text box. What I want to do is to be
able to read that string back into a list box and display it for the users to
edit. The listbox will be based off a table/query so each value that is in
the string (separated by a space and comma) will be already be in the list
box.
Is there a way that I can read in this text string and highlight the values
in the listbox where the users can select/unselect the values? When they are
ready to save it, I will re-run the original commands to parse the list box
back to the text string for the value to be stored on a table but presenting
the previously stored selected values is my issues.