Les --
Thanks for posting -- I was in the middle of migrating a CF5 app to CF7 and
ran into exactly the same issue.
The code works fine on CF5, but not on CF7. I added ID into the formfields
argument and it fixed it. They should REALLY fix the error message that gets
thrown because it was referencing fields I wasn't even using in the
formfields declaration.
On 2/18/06, Les Mizzell <[EMAIL PROTECTED]> wrote:
>
> I just needed more coffee!
> I left the ID field out of the list.
> Seems like an odd error for that though....
>
>
> > Slight/Weird(?) cfupdate problem....
> >
> > For the below:
> >
> > <cfif IsDefined("form.step2") AND #form.step2# EQ "step2">
> >
> > <cfupdate tablename="voucher"
> > datasource="#request.dbsource#"
> > password="#request.dbpass#"
> > username="#request.dbuser#"
> > formfields="fv2_ndp_oc_hours,
> > fv2_ndp_oc_amount,
> > fv2_ndp_oc_total" >
> >
> > </cfif>
> >
> >
> > If I pass any fieldnames that are NOT in the table, even though I've got
> > the fields I want updated listed, I get an error saying that the field
> > in the specific table can not be found.
> >
> > "step2" is not a field in the table, but I ge "The given fieldname
> > "STEP2" could not be found in the table "voucher".
> >
> > Listing the fields in the CFUPDATE doesn't exclude anything else being
> > passed? Or have I not had enough coffee and something is about to bite
> > my a** and I just don't see it?
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237821
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54