matrixknow
IS-IT--Management
- May 3, 2007
- 78
Hola,
I have a sql to feed my recordset. I need a parameter from a form. If I type the value literal eg 83 it works. The reference to the formfield works also.
When I try to include the variable or the form reference in my WHERE clausule he said to few parameters. I thinks its a syntax trouble ?
I have a sql to feed my recordset. I need a parameter from a form. If I type the value literal eg 83 it works. The reference to the formfield works also.
When I try to include the variable or the form reference in my WHERE clausule he said to few parameters. I thinks its a syntax trouble ?
Code:
Dim iID_CCT As Integer
iID_CCT = Forms![F_01_AR_FICHE]![F_02_AR_FICHE_CCT]![ID_CCT]
& "WHERE T_02_CONTACT.ID_CCT = iID_CCT " _