D J
asked on
MS Access How can I display a range in lieu of displaying every record in my report?
I have a report with a sub-form that will display all the doc numbers associated with each record:
Record 1
Doc 1, Doc 2, Doc 3, Doc 4
How can I update my report to:
Record 1
Doc 1 - Doc 4
If not consecutive:
Record 1
Doc 1 - Doc 4
Doc 8
Doc 10 - Doc 20
We can use the ID or Key for this purpose due to each doc number is consecutive with the key id.
With the logic if more than 3 records (Doc 1, Doc 2, Doc 3) show range in lieu of each record.
Record 1
Doc 1, Doc 2, Doc 3, Doc 4
How can I update my report to:
Record 1
Doc 1 - Doc 4
If not consecutive:
Record 1
Doc 1 - Doc 4
Doc 8
Doc 10 - Doc 20
We can use the ID or Key for this purpose due to each doc number is consecutive with the key id.
With the logic if more than 3 records (Doc 1, Doc 2, Doc 3) show range in lieu of each record.
ASKER
Aikimark - I'm using Allen Browns Concatrelated function, How can I add the Min() and Max() to my Concat statement below?
=IIf(IsNull([WINGS]),Null, ConcatRela ted("LL_NU M","qry_ll Join","WIN GSID = " & [WINGS]))
=IIf(IsNull([WINGS]),Null,
I am unfamiliar with the Concatrelated function and your data.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Without more information and representative sample data, I would only be guessing.