If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
concat strings on sum query
I need to write a sum query however one of the fields needs to be a
concatenation of the detail records. for example bob 10 chuck 20 would come back as bob/chuck 30 I'm wondering if there is a way to do it with the query designer rather than creating an ado recordset and manually sequencing through the records thanks |
#2
|
|||
|
|||
What do you want to do if you have 100 Records? 100 names separated by "/"?
-- HTH Van T. Dinh MVP (Access) "Mike" wrote in message ... I need to write a sum query however one of the fields needs to be a concatenation of the detail records. for example bob 10 chuck 20 would come back as bob/chuck 30 I'm wondering if there is a way to do it with the query designer rather than creating an ado recordset and manually sequencing through the records thanks |
#3
|
|||
|
|||
In this particular case we know each string is 4 char long ( incld seperator
) and that there won't be more than 4 distinct detail records. But for the general case you make a good point. I was able to figure something out that works and wasn't too complicated so I don't need a solution anymore I hate replacing published reports, they have to be just 'so' "Van T. Dinh" wrote: What do you want to do if you have 100 Records? 100 names separated by "/"? -- HTH Van T. Dinh MVP (Access) "Mike" wrote in message ... I need to write a sum query however one of the fields needs to be a concatenation of the detail records. for example bob 10 chuck 20 would come back as bob/chuck 30 I'm wondering if there is a way to do it with the query designer rather than creating an ado recordset and manually sequencing through the records thanks |
#4
|
|||
|
|||
I have just spent 3-4 days to do a Report with up to 10 SubReports and the
SubReports have snaking columns down and then across so that it looks like an old print-out from Excel. -- HTH Van T. Dinh MVP (Access) "Mike" wrote in message ... In this particular case we know each string is 4 char long ( incld seperator ) and that there won't be more than 4 distinct detail records. But for the general case you make a good point. I was able to figure something out that works and wasn't too complicated so I don't need a solution anymore I hate replacing published reports, they have to be just 'so' |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Here's a shocker | Mike Labosh | General Discussion | 2 | October 26th, 2004 05:04 PM |
Union Query Not Returning A Value | Jeff G | Running & Setting Up Queries | 2 | October 19th, 2004 05:47 PM |
Return repeats info in "8s" | Joy Rose | Running & Setting Up Queries | 14 | October 13th, 2004 10:07 PM |
Too Few Parameters error Mail Merge Access Parameter Query | Tony_VBACoder | Mailmerge | 3 | September 14th, 2004 12:15 PM |
Query to join records form 2 databases | bdehning | General Discussion | 5 | August 9th, 2004 03:09 PM |