All,
I added a function - into the usual place - named survey_aggregate() =20
that aggregates one, or more, surveys together. The function takes an =20
array of survey IDs and returns the new survey ID, or false on error. =20
The new survey proper information copies from the first survey ID in =20
the list, then all questions are accumulated in order of survey =20
specification.
I updated survey_copy() to use survey_aggregate(), as copy is just a =20
special case of aggregate when the survey ID list contains only one =20
element.
Right now, no UI uses survey_aggregate(). At some point, we might =20
want to add a UI that allows you to choose the surveys you want to =20
combine, then click a combine button.
bishop
--=20
Bishop Bettini
ideacode, Inc.
(main) +1 919 341 5170 / (fax) +1 919 521 4100
Visit us on the web at:
ideacode.com Professional software research and development
reviewmysoftware.com Improve sales! Review your software before you release
bytejar.com Solutions to those annoying development problems
|