This topic is locked

Adding More That One Value From Dropdown

4/4/2013 9:05:00 AM
ASPRunnerPro General questions
M
mitzi author

Ok, I will try to be as descriptive as possible:
I have 20 trainers that can be assigned to an event.

i can iether assign 1 trainer 9 i know how to do that) or I can assign more than 1 trainer (I do not know how to do that)
basically, i have a dropdown which is populated from the trainer's table, and i would like to add more than one value...how to do that please?

Sergey Kornilov admin 4/4/2013

You can use multiselect option in Lookup Wizard. It will allow you to select multiple trainers from the list.

M
mitzi author 4/4/2013

hi, you mean this selections:
Dropdown box, and Multiline (set to any number?)

right?
does my trainer field has to be a text or memo then?

Sergey Kornilov admin 4/4/2013

Yes, it should be a text field in order to store multiple values.

M
mitzi author 4/15/2013

Hi, i have a huge problem, If I add more than 7 values/trainers the application stops responding (calendar template) .what to do?

Sergey Kornilov admin 4/15/2013

Increase fields size so it can store more than 7 values?

M
mitzi author 4/22/2013

hi, this is the code i am using that was provided by your team,(thank you very much)
EmployeeName = rstmp2("EmployeeName")

EmployeeName = asp_str_replace(",",", ",EmployeeName)

strRow=strRow & "<font color=blue > " & EmployeeName & "</font>"
it solved part of the problem:
i can add numerous names via dropdown and it inserts it in the database. however
the field that hosts the data for the display in the calendar table does not allow word wraping
it displays it as follows
Amanda,Beatrice,Carolina,Grace,Helena,Janina

with no spaces between names, and I suppose the application treats this a one single word therefore disalowing word wraping.
word wraping occurs on a monthly calendar page ok.
do you think i sould add a nonbreakable space here
EmployeeName = asp_str_replace(",",", ",&nbsp;EmployeeName) ??????
thanks
also please explain how to make sure that the long text is wrapped around <TD> i am breaking my head trying to accomplish this <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=70539&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />
I have two large fields (description = memo) and employeeName=dropdown text)

sometimes description is just 3 words, but sometimes is 25-30, employee assigned sometimes is 1,2,3 which is ok, but sometimes to the same destination i sen 15-20 people at once
I need to make sure that all tables wrap however long text inside their respective <TD> would you be able to help, please?
and on my list page

Sergey Kornilov admin 4/22/2013

Long text will be word wrapped by default as long as it does contain some characters like spaces or dashes.
I'm afraid this issue doesn't make much sense being taken out of context. It would help if you can post it to demo account and contact support directly sending the URL of those pages in question. There must be something else that causes the wrapping issue.

M
mitzi author 4/23/2013

Hi, thank you i did contact support yesterday based on your suggestion.