E
Ebbe
Hey!
I have asked this question as an additional question a day ago.
But I thought it was better to let this question stand alone.
The mission is to make an overview over persons bookings of activities,
where persons are rows and personname and activities are columns.
The number of activities are not fixed, but is given by the table:
tblActivity
The booking is marked with '1' or a '*' or a True (What is easiest to
produce)
I have 3 tables with persons, activities and bookings.
tblPerson:
strPerName;strGroup
John;Th
Kenn;Th
Mary;Th
Nya;Hy
tblActivity:
strActName
Kodes
Nature
Fire
Tools
Movement
tblBooking:
strPerName;strActName
John;Kodes
John;Tools
Kenn;Nature
Kenn;Tools
Mary;Kodes
Mary;Nature
Nya;Movement
Nya;Fire
I wish query returning:
qryOverview:
strPerName;Kodes;Nature;Fire;Tools;Movement
John;1;0;0;1;0
Kenn;0;1;0;1;0
Mary;1;1;0;0;0
Nya;0;0;1;0;1
The 1's and 0's could be True/False or '*'/'' or something else representing
"Booked"/"Not booked"
Can I come around with this without generate a query using VBA?
I am not afraid of using VBA, but it would be easier.
Ebbe
I have asked this question as an additional question a day ago.
But I thought it was better to let this question stand alone.
The mission is to make an overview over persons bookings of activities,
where persons are rows and personname and activities are columns.
The number of activities are not fixed, but is given by the table:
tblActivity
The booking is marked with '1' or a '*' or a True (What is easiest to
produce)
I have 3 tables with persons, activities and bookings.
tblPerson:
strPerName;strGroup
John;Th
Kenn;Th
Mary;Th
Nya;Hy
tblActivity:
strActName
Kodes
Nature
Fire
Tools
Movement
tblBooking:
strPerName;strActName
John;Kodes
John;Tools
Kenn;Nature
Kenn;Tools
Mary;Kodes
Mary;Nature
Nya;Movement
Nya;Fire
I wish query returning:
qryOverview:
strPerName;Kodes;Nature;Fire;Tools;Movement
John;1;0;0;1;0
Kenn;0;1;0;1;0
Mary;1;1;0;0;0
Nya;0;0;1;0;1
The 1's and 0's could be True/False or '*'/'' or something else representing
"Booked"/"Not booked"
Can I come around with this without generate a query using VBA?
I am not afraid of using VBA, but it would be easier.
Ebbe