I'm not sure if I'm looking at this problem correctly, but here's what I have set up (as close to 3NF as I can manage using generic names for simplicity below)
tblDatatype1 & subtblDetails1
tblDatatype2 & subtblDetails2
tblDatatype3 & subtblDetails3
tblDatatype4 & subtblDetails4
tblDatatype5 & subtblDetails5
qryData1 -> qrysummariesandcalcsofData1
qryData2 -> qrysummariesandcalcsofData2
qryData3 -> qrysummariesandcalcsofData3
qryData4 -> qrysummariesandcalcsofData4
qryData5 -> qrysummariesandcalcsofData5
qryUnionSummaryofAboveSummariesandCalcs
qryCrosstab1ofData1
qryCrosstab2ofData1
qryCrosstab1ofData2
qryCrosstab2ofData2
qryCrosstab1ofData3
qrySummaryofAllAboveQueriesinApprovedFormat
qryReportofSummaryQueryAbove
On my DB front end I have a switchboard that contains a text box. Depending on the department entering information they will modify this text box so that all of the work they deal with is pertinent to thier department only. Other department data will not show in thier queries, forms, reports etc.
However; also on this switchboard there is a command button which I wish to use, that will run a report for each department individually and create a report that sequentially lists the exact same sums for each department in the same format. Unfortunately the problem I'm encountering is that the report that is generated goes through 3 standard select queries, a union query, and 5 crosstab queries in order to display the information in the format, and order requested. By doing so I do not know how I can create a report that is in the continuous form style that I've used in the past. Would I be able to have the command button use the text box on the switchboard to run the first report (I can get this far, it's the following I can't figure out) then, without using the control button again, but as a sequential operation, have the VBA change the text box to another value, and rerun the same report and append it to the end of the previous report until all departments have been run and appended, then preview the report?
Kyle
tblDatatype1 & subtblDetails1
tblDatatype2 & subtblDetails2
tblDatatype3 & subtblDetails3
tblDatatype4 & subtblDetails4
tblDatatype5 & subtblDetails5
qryData1 -> qrysummariesandcalcsofData1
qryData2 -> qrysummariesandcalcsofData2
qryData3 -> qrysummariesandcalcsofData3
qryData4 -> qrysummariesandcalcsofData4
qryData5 -> qrysummariesandcalcsofData5
qryUnionSummaryofAboveSummariesandCalcs
qryCrosstab1ofData1
qryCrosstab2ofData1
qryCrosstab1ofData2
qryCrosstab2ofData2
qryCrosstab1ofData3
qrySummaryofAllAboveQueriesinApprovedFormat
qryReportofSummaryQueryAbove
On my DB front end I have a switchboard that contains a text box. Depending on the department entering information they will modify this text box so that all of the work they deal with is pertinent to thier department only. Other department data will not show in thier queries, forms, reports etc.
However; also on this switchboard there is a command button which I wish to use, that will run a report for each department individually and create a report that sequentially lists the exact same sums for each department in the same format. Unfortunately the problem I'm encountering is that the report that is generated goes through 3 standard select queries, a union query, and 5 crosstab queries in order to display the information in the format, and order requested. By doing so I do not know how I can create a report that is in the continuous form style that I've used in the past. Would I be able to have the command button use the text box on the switchboard to run the first report (I can get this far, it's the following I can't figure out) then, without using the control button again, but as a sequential operation, have the VBA change the text box to another value, and rerun the same report and append it to the end of the previous report until all departments have been run and appended, then preview the report?
Kyle