G
Guest
Hello,
My question is, can I have a set of 12 unbound textboxes and set their
controlsource to the appropriate month, this way I don't need to open the
report every month to add a new month field.
Here is what I have currently...
I have a report with 13 unbound textboxes in the detail section - one for
name and the other 12 for the months of the year. My company Fiscal year is
from Nov through Oct.
In the OnOpen event I am able to determine the #of months that have elapsed
in the fiscal year - as of today it will be 11 - and my recordsource for the
report will also have only 11 months- so Oct will not be available at this
time.
I also have code that populate the text boxes accordingly - this is done for
some special formatting etc
ex Text1 = [Nov]
Text2 = [Dec] etc
However, before I can run the report, I also have to add to the report
detail section the actual fields from the report recordsource that is the
Nov, Dec, Jan etc
I then make these Not Visible and the report runs ok.
So if I need to include Oct I will have to add the Oct field first.
My issue is, can I add another set of 12 unbound textboxes and set their
controlsource to the appropriate month, this way I don't need to open the
report every month to add the new month field.
Sorry for the long e- mail
Deo.
My question is, can I have a set of 12 unbound textboxes and set their
controlsource to the appropriate month, this way I don't need to open the
report every month to add a new month field.
Here is what I have currently...
I have a report with 13 unbound textboxes in the detail section - one for
name and the other 12 for the months of the year. My company Fiscal year is
from Nov through Oct.
In the OnOpen event I am able to determine the #of months that have elapsed
in the fiscal year - as of today it will be 11 - and my recordsource for the
report will also have only 11 months- so Oct will not be available at this
time.
I also have code that populate the text boxes accordingly - this is done for
some special formatting etc
ex Text1 = [Nov]
Text2 = [Dec] etc
However, before I can run the report, I also have to add to the report
detail section the actual fields from the report recordsource that is the
Nov, Dec, Jan etc
I then make these Not Visible and the report runs ok.
So if I need to include Oct I will have to add the Oct field first.
My issue is, can I add another set of 12 unbound textboxes and set their
controlsource to the appropriate month, this way I don't need to open the
report every month to add the new month field.
Sorry for the long e- mail
Deo.