TheDoubleB
Programmer
I am using the following codes:
<CFQUERY name="SNNote" dbtype="ODBC" datasource="Afr">
Select * from Notes
Where
SNID =#NR#
</CFQUERY>
This works and I can display the data. However, when I try an update with:
<CFQUERY name="SNUpdNote" dbtype="ODBC" datasource="Afr">
Update Notes
Set
FirmName="#Form.Firm#",
ContactPerson="#Form.Person#",
ContactPhone="#Form.Phone#",
Notes="#Form.Note#"
Where
SNID =#NR#
</CFQUERY>
and I get:
ODBC Error Code = 07001 (Wrong number of parameters)
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 3.
Anyone have any ideas? This is driving me nuts....
<CFQUERY name="SNNote" dbtype="ODBC" datasource="Afr">
Select * from Notes
Where
SNID =#NR#
</CFQUERY>
This works and I can display the data. However, when I try an update with:
<CFQUERY name="SNUpdNote" dbtype="ODBC" datasource="Afr">
Update Notes
Set
FirmName="#Form.Firm#",
ContactPerson="#Form.Person#",
ContactPhone="#Form.Phone#",
Notes="#Form.Note#"
Where
SNID =#NR#
</CFQUERY>
and I get:
ODBC Error Code = 07001 (Wrong number of parameters)
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 3.
Anyone have any ideas? This is driving me nuts....