M
Mettá
I'm having trouble updating an Access DB
In the first db results I have a result based on ID and FieldName1
If a db record is found the following happens without any problems.
<p>id:<%=FP_FieldVal(fp_rs,"id")%><br>
name:<%=FP_FieldVal(fp_rs,"FieldName1")%><br>
ipa:<%=FP_FieldVal(fp_rs,"ipa")%></p>
<%
Dim ipa1
ipa1=ipa1+FP_FieldVal(fp_rs,"ipa")+1
%>
On the same asp page lower down I have a db update that is not working.
I get the following error
(...Syntax error in UPDATE statement.)
UPDATE TableName
Set ipa=::ipa1::
WHERE ID=::ID:: AND FieldName1='::FieldName1::'
ipa = numeric filed (Long Integer)
id = Autonumber (record id)
field1 = Text field
Any idea why this would not work?
Thanks
M
In the first db results I have a result based on ID and FieldName1
If a db record is found the following happens without any problems.
<p>id:<%=FP_FieldVal(fp_rs,"id")%><br>
name:<%=FP_FieldVal(fp_rs,"FieldName1")%><br>
ipa:<%=FP_FieldVal(fp_rs,"ipa")%></p>
<%
Dim ipa1
ipa1=ipa1+FP_FieldVal(fp_rs,"ipa")+1
%>
On the same asp page lower down I have a db update that is not working.
I get the following error
(...Syntax error in UPDATE statement.)
UPDATE TableName
Set ipa=::ipa1::
WHERE ID=::ID:: AND FieldName1='::FieldName1::'
ipa = numeric filed (Long Integer)
id = Autonumber (record id)
field1 = Text field
Any idea why this would not work?
Thanks
M