On 25 August 2010 08:02, Frederick Cheung <[email protected]> wrote: > > > On Aug 25, 7:53 am, Bob Smith <[email protected]> wrote: > >> >> The problem I'm having is in combining these two name lists into one >> list, then putting it in alphabetical order. >> Name is for head of household, and sname is for a second person, >> either a wife or husband. These are two fields in the same record. >> Combining the lists and putting them in alphabetical order will show a >> full list to match whoever comes for the food. This program is for a >> local foodbank. >> > > Sounds like Ar Chron's code would do it. Did you try his suggestion ?
I think I have just realised what the OP is after, he wants each record to appear twice in the list, once showing name and once showing sname with the two record sets interleaved so that the displayed names are in alpha order. OP is that correct? Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

