Skip to Content Skip to Menu

SQL Update Statement for Multi-Select field on a person's profile.

2 months 1 week ago #338854 by paul_mcdonald
Hello ...

I'm trying to do an update to a person's selections on a multi-select field using SQL.   However, I'm not seeing where the data is stored for a person's selections.   Even when I use the web interface, I'm not seeing where my selections are being saved in the db.   I've looked at the __comprofiler table where most info is stored ... but while the field's column name is there, there is no data stored in it.

Can anyone point me in the right direction?

Much Appreciated!!

Please Log in or Create an account to join the conversation.

2 months 1 week ago #338855 by paul_mcdonald
I was mistaken. Of course as soon as I posted this question, I see that it is indeed being stored in the __comprofiler table in the column. It would help if I looked at the correct column!!!

Please consider my question answered.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48419
  • Thanks: 8274
  • Karma: 1443
2 months 1 week ago #338856 by krileon
All CB fields are stored in _comprofiler. Each field is given its own table column. Mulit-selects values are separated by |*|. So if they have Value_1 and Value_2 selected it'd be stored as Value_1|*|Value_2.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum