Dear all 
I am using Access 2007.
I am building a form, almost finished, but the last part sucks.
I did a SELECT statement to bring a value based on several criterias but when I run it, it demands A PARAMETER VALUE.
Here is the SELECT Statement :
The syntax is correct because when I enter the value it shows the one that I expect. But entering this value by users would make them nervous ..
The parameter demanded is based on this part of the statement :
Do you have a solution for this ?
Thanks in advance

I am using Access 2007.
I am building a form, almost finished, but the last part sucks.
I did a SELECT statement to bring a value based on several criterias but when I run it, it demands A PARAMETER VALUE.
Here is the SELECT Statement :
Code:
totprecsql = "SELECT tbl_actualVal.[totalFTE] " & _
"FROM tbl_actualVal WHERE tbl_actualVal.[monthActual] = " & Me.perPrec & " AND tbl_actualVal.[typeActual] = INTernalfte AND tbl_actualVal.[yearActual] = " & Me.yearActual & " AND tbl_actualVal.[idInitiative] = " & Me.idInitiative & " "
The syntax is correct because when I enter the value it shows the one that I expect. But entering this value by users would make them nervous ..
The parameter demanded is based on this part of the statement :
Code:
tbl_actualVal.[typeActual] = INTernalfte
Do you have a solution for this ?
Thanks in advance