Combining data from different records (1 Viewer)

Access_Help

Registered User.
Local time
Yesterday, 18:06
Joined
Feb 12, 2005
Messages
136
I am looking for a method to combine the data for a particular field from each record into a separate field.

Example:


Result:
Seattle, WA 98104, Chicago, IL 60605, Los Angeles, CA 90010.

How can this be achieved?
 

Attachments

  • Hroup.JPG
    Hroup.JPG
    24.4 KB · Views: 198

Gasman

Enthusiastic Amateur
Local time
Today, 02:06
Joined
Sep 21, 2011
Messages
14,265
ALso look at the Similar thread at the bottom of the page. I am sure someone asked this very question just the other day?
 

Fira_g

Registered User.
Local time
Yesterday, 21:06
Joined
Oct 17, 2019
Messages
60
I use query to concatenate fields from parent and child tables as in the image bellow:
 

Attachments

  • fulladdress.png
    fulladdress.png
    24.5 KB · Views: 85

Fira_g

Registered User.
Local time
Yesterday, 21:06
Joined
Oct 17, 2019
Messages
60
I see theDBguy already posted a link with solution :)
 

Access_Help

Registered User.
Local time
Yesterday, 18:06
Joined
Feb 12, 2005
Messages
136
Hi. Have a look at this simple function. Hope it helps...

This is my first time experience with modules, not sure where I have gone wrong, I am sure it is something simple

I am getting an error....anyone please help ?

File attached.
 

Attachments

  • Database26.zip
    24.9 KB · Views: 86
Last edited:

theDBguy

I’m here to help
Staff member
Local time
Yesterday, 18:06
Joined
Oct 29, 2018
Messages
21,467
This is my first time experience with modules, not sure where I have gone wrong, I am sure it is something simple

I am getting an error....anyone please help ?

File attached.
Hi. Sorry for the delay. Looks like you modified the module. You didn't have to. Please take a look at the attached modified version of your db and let us know if this is what you wanted. Cheers!
 

Attachments

  • Database26.zip
    22.2 KB · Views: 83

Users who are viewing this thread

Top Bottom