Hi,
I am trying to write an automatic number generator for an issue tracking system.
The number should look like this:
08-06-003
Where 08 represents the workplan section related to the issue. 06 represents the year during which the issue was created. 003 is the number of the issue in this section.
From time to time, the Workplan changes and is allocated a new name.
I have a form that contains 2 combo boxes. 1 for the workplan and 2 for the workplan section.
I am having difficulty with the last part of the issue number generator.
I created Query1 that contains:
workplan criteria = issueFrm!workplanCombo
workplanSection criteria = issueFrm!workplanSectionCombo
I created Query2 that counts the number of records in Query1.
I created a subform that has Query2 a a Record Source.
For some reason, Query2 doesn't get updated.
Me.Refresh does not work.
Your help is much appreciated.
Cheers,
John
I am trying to write an automatic number generator for an issue tracking system.
The number should look like this:
08-06-003
Where 08 represents the workplan section related to the issue. 06 represents the year during which the issue was created. 003 is the number of the issue in this section.
From time to time, the Workplan changes and is allocated a new name.
I have a form that contains 2 combo boxes. 1 for the workplan and 2 for the workplan section.
I am having difficulty with the last part of the issue number generator.
I created Query1 that contains:
workplan criteria = issueFrm!workplanCombo
workplanSection criteria = issueFrm!workplanSectionCombo
I created Query2 that counts the number of records in Query1.
I created a subform that has Query2 a a Record Source.
For some reason, Query2 doesn't get updated.
Me.Refresh does not work.
Your help is much appreciated.
Cheers,
John