Hi,
Does anyone know if there is a simple SQL aggregate fuction similar to SUM or COUNT to concatenate field values into a single field across a one to many join? At the moment I am using ADOX to create temp tables on the fly on the server and loop through two recordsets (one on the group by side and the other on the many side of the join) and numerous INSERT INTO statements. I then have to set the form / report recordset to be the recordset based upon the temp table.
I have a few more of these to create and it seems like alot of work as opposed to using the word SUM in SQL to add values.
Thanks
Jon
Does anyone know if there is a simple SQL aggregate fuction similar to SUM or COUNT to concatenate field values into a single field across a one to many join? At the moment I am using ADOX to create temp tables on the fly on the server and loop through two recordsets (one on the group by side and the other on the many side of the join) and numerous INSERT INTO statements. I then have to set the form / report recordset to be the recordset based upon the temp table.
I have a few more of these to create and it seems like alot of work as opposed to using the word SUM in SQL to add values.
Thanks
Jon