Dear all,
I am creating a training record which can accomodate "individual dates" and "continuous date", so that a training can be held in consecutive and non-consecutive dates. In order to do the above requirements, I have created 3 tables, table with continuous date (start & end date), table for individual date, and a training detail table. The first 2 tables are linked to the "Detail table" by the "Detail ID".
An entry form was built from the "Detail" table, 2 subforms (individual date & consecutive dates) were embeded in it.
Two queires were built: one for individual dates; second one is similar to first one except putting the start & end date into one field. Then I used SQL to union the above 2 queries into one big pool of data for report.
Problems when I try generate the report for a particular training:
For example:
Training Category Training Title Date
PC Training ACCESS for Advance User 1 Feb 2010
PC Training ACCESS for Advance User 3 Feb 2010
PC Training ACCESS for Advance User 10 Feb 2010
PC Training ACCESS for Advance User 12 Feb 2010-14 Feb 2010
My boss want me to combine all the dates together to have something like this:
Training Category Training Title Date
PC Training ACCESS for Advance User 1, 3, 10 Feb 2010
& 12 Feb 2010 - 14 Feb 2010
I tried to add an additional unbound text with the condition, but how do I know how many non-consecutive or consecutive dates of each different trainings?
Thank you in advance for you all valuable advices!
I am creating a training record which can accomodate "individual dates" and "continuous date", so that a training can be held in consecutive and non-consecutive dates. In order to do the above requirements, I have created 3 tables, table with continuous date (start & end date), table for individual date, and a training detail table. The first 2 tables are linked to the "Detail table" by the "Detail ID".
An entry form was built from the "Detail" table, 2 subforms (individual date & consecutive dates) were embeded in it.
Two queires were built: one for individual dates; second one is similar to first one except putting the start & end date into one field. Then I used SQL to union the above 2 queries into one big pool of data for report.
Problems when I try generate the report for a particular training:
For example:
Training Category Training Title Date
PC Training ACCESS for Advance User 1 Feb 2010
PC Training ACCESS for Advance User 3 Feb 2010
PC Training ACCESS for Advance User 10 Feb 2010
PC Training ACCESS for Advance User 12 Feb 2010-14 Feb 2010
My boss want me to combine all the dates together to have something like this:
Training Category Training Title Date
PC Training ACCESS for Advance User 1, 3, 10 Feb 2010
& 12 Feb 2010 - 14 Feb 2010
I tried to add an additional unbound text with the condition, but how do I know how many non-consecutive or consecutive dates of each different trainings?
Thank you in advance for you all valuable advices!