COMBINING TWO LISTS INTO ONE LIST

  • emushaija
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
14 years 3 months ago #8702 by emushaija
COMBINING TWO LISTS INTO ONE LIST was created by emushaija
Hello Good People

I want to combine two lists(LISTA and LISTB) into one List

I have tried LISTC=LISTA:'*':LISTB ,it works but only defects it combines last item of list A and first item of LISTB as one item.

Thanks for your support

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

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
14 years 3 months ago #8704 by jpb
Replied by jpb on topic Re: COMBINING TWO LISTS INTO ONE LIST
How are the lists build?

When they are the results of a SELECT the list-items are separated by @FM, so

LISTC = LISTA : @FM : LISTB

should do.

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

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
14 years 3 months ago #8706 by jpb
Replied by jpb on topic Re: COMBINING TWO LISTS INTO ONE LIST
... or

LISTA<-1> = LISTB

to have all items in LISTA

:-)

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

  • emushaija
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
14 years 3 months ago #8708 by emushaija
Replied by emushaija on topic Re: COMBINING TWO LISTS INTO ONE LIST
Thanks Jpb!

I am testing it now i know it will work!!!

I love the second one!i thought it would overwrite but merging ..the last thing i would i have done in try-and-error!

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

Time to create page: 0.035 seconds