If all you wish is to determine the path of the current database, simply use the following line of code:
It will return a string value like: ‘D:\MS Access\References’
Pay particular attention to the fact that it does not include the closing slash in the string it returns. So if you are going to use it in your code, remember to concatenate it with a closing slash by simply doing somthing like:
Application.CurrentProject.Path & "\"
Current average ratings.