OK, I have a form which is used to create the values required to create a new record.
One of the fields is built up by the user selecting one or more values from a list box - if more than one value is selected then it becomes a comma separated string, i.e. value1, value2.
I then need to have a button which allows the user to save the new record and I was going to use the INSERT INTO statement to do this but because one of the values to insert may be comma separated, it doesn't work because it appears that there are more values to insert than there are fields to insert into. How can I have it treat value1, value2 as one Value only?
Thanks.
One of the fields is built up by the user selecting one or more values from a list box - if more than one value is selected then it becomes a comma separated string, i.e. value1, value2.
I then need to have a button which allows the user to save the new record and I was going to use the INSERT INTO statement to do this but because one of the values to insert may be comma separated, it doesn't work because it appears that there are more values to insert than there are fields to insert into. How can I have it treat value1, value2 as one Value only?
Thanks.