In Access I can use a produce a recordset in a function using either a preexisting query or by wrinting the SQL and then go through this recordset and concatinate one or more fields from each record into one field. This might be used, for example, to go through all the products you have filtered by a particular colour and put this into a form letter or report.
IE: if you want a red car, then we have cars by Ford, MG and BMW which might fit the Bill for you. The "Ford, MG and BMW" would be concatinated from a query that pulls out all your red cars, and then the function will move through them one record at a time adding each make to a string variable along with the necessary commas and "ands".
My query is, Can I do anything like this in Crystal. I know you can pull out a field from the next record to the one you are working on with Next(fld), but can you go further and do this with several records.
James
IE: if you want a red car, then we have cars by Ford, MG and BMW which might fit the Bill for you. The "Ford, MG and BMW" would be concatinated from a query that pulls out all your red cars, and then the function will move through them one record at a time adding each make to a string variable along with the necessary commas and "ands".
My query is, Can I do anything like this in Crystal. I know you can pull out a field from the next record to the one you are working on with Next(fld), but can you go further and do this with several records.
James