I have a database that appears to work correctly for a group of people.
The database has several queries/reports that require pop-up forms to enter search criteria before calling the query. On several of these forms, a value is required for a year. Normally this defaults to the current year but may be changed to any previous year. I have an unbound control with a default value of: DatePart("yyyy",Date())
This fills the control with 2006 (current year) and is passed as a parameter to the query. This works perfectly.
I have sent the database to someone that tells me that the pop-up forms do not display the current year, instead they display: #name?
This usually indicates that a value cannot be referenced for some reason. In this instance I cannot understand what is not being referenced or not being returned. Any ideas would be appreciated.
Nigel.
The database has several queries/reports that require pop-up forms to enter search criteria before calling the query. On several of these forms, a value is required for a year. Normally this defaults to the current year but may be changed to any previous year. I have an unbound control with a default value of: DatePart("yyyy",Date())
This fills the control with 2006 (current year) and is passed as a parameter to the query. This works perfectly.
I have sent the database to someone that tells me that the pop-up forms do not display the current year, instead they display: #name?
This usually indicates that a value cannot be referenced for some reason. In this instance I cannot understand what is not being referenced or not being returned. Any ideas would be appreciated.
Nigel.