B
Bill
I have an application that supports class
reunions. Within each classmate's record,
there are fields of information that potentially
lead to a situation where four (4) different
name tags need to be sequentially printed.
I can approach this situation by writing a
general module that will create additional
tables that I can subsequently Union Select
to create the report's RecordSource. But,
if it's possible to dynamically create such
records "on the fly" within the report's code
sheet at runtime, I would prefer to do that.
For example: (1 record)
LName FName CurName SPName ChCM ChSP
Smith Carol Brown Bill 1 3
Expand to 4 sequential name tags: (Appropriately
formatted in the OnFormat sub.)
1 - Carol (Smith) Brown
2 - Prime Rib
3 - Bill Brown
4 - Chicken
There's some code required to recognize that
when there's a female classmate, her spouses
name tag needs to use "CurentName" (CurName)
as the last name on the name tag of the spouse.
So, the question is really: Can one record in the
RecordSource be made to create 4 report pages?
Or, is there enough facility in SQL to create a
query wherein 4 discrete records be created
that correspond to what I've shown in the above
example? If the latter, can you offer some help
in getting such a query started?
(In this case, one page is a business card size
name tag.)
reunions. Within each classmate's record,
there are fields of information that potentially
lead to a situation where four (4) different
name tags need to be sequentially printed.
I can approach this situation by writing a
general module that will create additional
tables that I can subsequently Union Select
to create the report's RecordSource. But,
if it's possible to dynamically create such
records "on the fly" within the report's code
sheet at runtime, I would prefer to do that.
For example: (1 record)
LName FName CurName SPName ChCM ChSP
Smith Carol Brown Bill 1 3
Expand to 4 sequential name tags: (Appropriately
formatted in the OnFormat sub.)
1 - Carol (Smith) Brown
2 - Prime Rib
3 - Bill Brown
4 - Chicken
There's some code required to recognize that
when there's a female classmate, her spouses
name tag needs to use "CurentName" (CurName)
as the last name on the name tag of the spouse.
So, the question is really: Can one record in the
RecordSource be made to create 4 report pages?
Or, is there enough facility in SQL to create a
query wherein 4 discrete records be created
that correspond to what I've shown in the above
example? If the latter, can you offer some help
in getting such a query started?
(In this case, one page is a business card size
name tag.)