Hey all,
I am fairly new to query's, the introduction that I had was not in-depth enough to figure this out.
I have two fields in my table= (tblNPI) FIELD 1 = BRFrcv'd, FIELD 2 = BRF/BOF_Complete. both of these fields are date fields.
Multiple records in the table spanning days to possibly one or two months.
we process an NPI and I enter the date that the BRF document was received into the BRFrcv'd field. Once that process is complete I then enter a date into the BRF/BOF_Complete field.
At the end of the month I want to run a query that tells me the average number of days it took to complete any BRFs for that month.
Each records PK is an auto gen number, each record also has a BRF or BOF number associated with each record that is unique as well.
I was thinking that a nested query might be the correct way to do this but for the life of me cannot see it.
Can anyone point me in the right direction. I have looked at the DateDiff function and that is confusing me somewhat. I do not have any good examples that explain it.
any help would be greatly appreciated.
- Barryg