Ask a Question related to Coldfusion Database Access, Design and Development.
-
iam bennu #1
Updating Items in a looping Recordset?
I am trying to update a checkbox var in my database for multiple items that
are displayed with a looping Query. I put the whole query in a form and am
trying to check the boxes and the press the submit button and see the new
updated values.
How?!
Any help is appreciated.
iam
The Update Query that Dreamweaver created is below. How to I modify it to
work or do I have to trash this and try a differnt approach.
<cfset CurrentPage=GetFileFromPath(GetTemplatePath())>
<cfif IsDefined("FORM.MM_UpdateRecord") AND FORM.MM_UpdateRecord EQ "form1">
<cfquery datasource="CHIShoppingList">
UPDATE HouseHoldItems
SET Item=
<cfif IsDefined("FORM.Item") AND #FORM.Item# NEQ "">
'#FORM.Item#'
<cfelse>
NULL
</cfif>
, BuyNow=
<cfif IsDefined("FORM.checkbox")>
1
<cfelse>
0
</cfif>
WHERE ItemNo=#FORM.Item#</cfquery>
iam bennu Guest
-
Creating master page where global items arearranged ABOVE local items
When you create a mater page, obviously all the items are arranged below anything on the individual pages. Is there a way of creating a master... -
updating library items by webform?
Have a "news from the owner" section in my site. I want the owner to go to a web form, type in his article, hit submit and have it automatically... -
possible for publishers to edit Library Items /recurrent items like navigation?
I'd love to see this possibility too, but I think it's not possible. -
possible for publishers to edit Library Items / recurrent items like navigation?
No, you have to use an include of some sort. If you don't want to use SSI you can do it with Javascript. Search Google with the keyword "Javascript... -
Looping out results of a recordset two columns at a time
http://www.aspfaq.com/2247 "Bill" <billzimmerman@gospellight.com> wrote in message news:8da5f4f4.0308061059.21661cd3@posting.google.com...



Reply With Quote

