oldmillsaddlery
asked on
Convert text held in access table to html with bullet points and store in access table
Convert text held in access table to html with bullet points and store in access table. The text has * where the bullet points should start. These need to be replaced with a bullet point and saved to new field in the database.
I need to upload this as a product description to our website and because of google spiders I prefer to have the html created before the upload
Here is an example text
Designed to be hung in the stable. *Add Lik-its to the top section and Little Lik-its to the ball. *Will keep the horse interested as he searches for a tasty reward.
This is the way it should look on the website
Designed to be hung in the stable.
-Add Lik-its to the top section and Little Lik-its to the ball.
-Will keep the horse interested as he searches for a tasty reward.
Could a query handle this?
I need to upload this as a product description to our website and because of google spiders I prefer to have the html created before the upload
Here is an example text
Designed to be hung in the stable. *Add Lik-its to the top section and Little Lik-its to the ball. *Will keep the horse interested as he searches for a tasty reward.
This is the way it should look on the website
Designed to be hung in the stable.
-Add Lik-its to the top section and Little Lik-its to the ball.
-Will keep the horse interested as he searches for a tasty reward.
Could a query handle this?
ASKER
Hi Sorry been away for week thanks for the post . I am a bit lost here. Where you say write function can you explain in more detail?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This is the perfect solution and has saved me much time, I am delighted with the solution and the way you handled it. I feel rather guilty that I have not paid you directly for this
I'm glad I could help! By the way, the points you awarded me have resulted in me getting my first EE certification - Master in the MS Access zone :)
Try the code below, and include the function in your query like this:
SELECT MyTable.Field1, Convert2HTML([Field1]) AS Expr1
FROM MyTable;
Open in new window