Show all records for individual in columns (1 Viewer)

theseus

Registered User.
Local time
Today, 13:03
Joined
Aug 6, 2018
Messages
32
I am trying to group calls made to individuals in distinct columns. Each record has the individual's identifier and details about the call. Can I create a report that shows me the individual then the details about the calls with each column being a new call?

Identifier------> Call 1-----> Call 2-----Call 3 ==== and so on

Thanks for pointing me in the right direction.
 

theDBguy

I’m here to help
Staff member
Local time
Today, 10:03
Joined
Oct 29, 2018
Messages
21,447
Hi. Try using a Crosstab query to see if it can do what you want.
 

June7

AWF VIP
Local time
Today, 09:03
Joined
Mar 9, 2014
Messages
5,463
This is denormalization of data, often done with a CROSSTAB query. Building a stable report based on CROSSTAB is very tricky.

Another method would involve VBA code and writing data to a 'temp' table.

There are only 2 fields? What kind of data is 'details'?

How many calls could an individual have? Like a table, a query is limited to 255 fields.
 

Uncle Gizmo

Nifty Access Guy
Staff member
Local time
Today, 18:03
Joined
Jul 9, 2003
Messages
16,269
See:-

Display Field Data Horizontally - Nifty Access


More info on Nifty Access Website HERE:-
Transform, Concatenate Examples

The sample file is available for Free. Contact me and I will explain how you can obtain the sample file for free..
 

theseus

Registered User.
Local time
Today, 13:03
Joined
Aug 6, 2018
Messages
32
The call details are text data and some individuals have 6 or 7 calls.
 

theDBguy

I’m here to help
Staff member
Local time
Today, 10:03
Joined
Oct 29, 2018
Messages
21,447
The call details are text data and some individuals have 6 or 7 calls.
The normal approach for displaying this on a report is by grouping the data by individuals. What happens if someone has more calls than can be displayed within the width of the report?
 

June7

AWF VIP
Local time
Today, 09:03
Joined
Mar 9, 2014
Messages
5,463
I just remembered another approach. Uses Columns formatting in report design. Set a grouping on individual and specify 6 columns, snake across then down. Set report GrpKeepTogether property to PerColumn. Set group header NewRowOrCol property to Before&After.
 
Last edited:

Users who are viewing this thread

Top Bottom