How do I create an update form, in a search.asp page.

I have a search.asp page which when submitted transfers to
the results.asp page. In the search I would like to also create an
insert statement. The search.asp page has the following.
Form: searchForm (Post)
Text Field: KeywordSearch
List Menu: CategoryTable
List Menu: Location
Button: Search
When a client enters data in the search.asp page, I would
like for the data, to be submitted to a database at the same time
it searches the database. This using an insert statement. The
reason for this is so that we can see what everyone is searching
for.
The database/table we created has the following.
Table: tblSearches
Field: idSearch (Auto Number)
Field: location (Text)
Field: category (Text)
Field: user (Text)
Field: keyWord (Text)
At the moment I cant create an insert form because of the
form that already exists in the search.asp page.
Can anyone suggest how to do this.
Ideally it would be good to be able to combine two forms into
one, but I am told that this is not possible.
TA
Mally.

Oh, I see. So is it Dreamweaver that wont let you create the
insert statement using a form that is already submitting to a
results.asp page? So if I create the insert statement by had it
should work?

Similar Messages

  • How Can I Create A Contact Form In Dreamweaver Using ASP

    I tried to create a contact form using php, but that failed epically. The server doesn't support php, and there isn't anything I can do about that. My only option now is to create it using ASP but I can't find a good tutorial on how to do so. Please help me!

    Ask your host if they have a form-to-email script you can use.  Many commercial hosts have scripts on their servers which you can activate through your C- or Admin-panel.
    Failing that, there are some commercial products you can use.
    Forms to Go ~
    http://www.bebosoft.com/products/formstogo/overview
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How to create an update form

    I am facing some problems when creating an update form. I have created the form page and the action page. It seems to be working but I have a couple of issues with a list menu and a radio button.
    The code is:
    <!--- Check that ID was provided --->
    <cfif NOT IsDefined("URL.ID")>
      <h1>You did not specify the Alumni ID</h1>
    <cfabort>
    </cfif>
    <!--- Get the alumni record --->
    <cfquery datasource="alumniupdateform" name="queryResults">
    SELECT *
    FROM Alumni
    WHERE ID=#URL.ID#
    </cfquery>
    <!--- Get countries --->
    <cfquery name="Countryquery" datasource="admissions">
          SELECT * FROM Countries ORDER BY CountryName ASC
    </cfquery>
    <!--- Page header --->
    <cfinclude template="includes\header.cfm">
    <!--- Update alumni form --->
    <cfform action="includes\update_action.cfm">
    <!--- Embed primary key as a hidden field --->
    <cfoutput>
    <input type="radio" name="WantRepresent" id="WantRepresent" value="#queryResults.WantRepresent#">
    </cfoutput>
    <cfoutput>
    <input type="hidden" name="ID" value="#queryResults.ID#">
    </cfoutput>
    <table align="center" bgcolor="">
    <tr>
      <th colspan="2">
        <p> </p>
        <p><font size="+1">Update a Alumni Contact</font></p>
        <p> </p></th>
    </tr>
    <tr>
      <td>
       Name:
      </td>
      <td>
       <cfinput type="Text"
                name="aName"
                value="#Trim(queryResults.aName)#"
                message="NAME is required!"
                required="Yes"
                validateAt="onSubmit,onServer"
                size="50"
                maxlength="100">
      </td>
    </tr>
    <tr>
      <td>
       Last Name:
      </td>
      <td><cfinput type="Text"
                name="aLastName"
                value="#Trim(queryResults.aLastName)#"
                message="LAST NAME is required!"
                required="Yes"
                validateAt="onSubmit,onServer"
                size="50"
                maxlength="100"></td>
    </tr>
    <tr>
      <td>
       Company:
      </td>
      <td>
       <cfinput type="Text"
                name="aCompany"
                value="#Trim(queryResults.aCompany)#"
                message="COMPANY is required!"
                required="Yes"
                validateAt="onSubmit,onServer"
                size="50"
                maxlength="100">
                </td>
    </tr>
    <tr>
       <td>E-Mail</td>
       <td><cfinput type="Text"
                name="aEmail"
                value="#Trim(queryResults.aEmail)#"
                message="E-MAIL is required!"
                required="Yes"
                validateAt="onSubmit,onServer"
                size="50"
                maxlength="100"></td>
    </tr>
    <tr>
      <td>
       Preferred Postal Adress::
      </td>
      <td>
       <cfoutput></cfoutput>
       <cfinput type="text"
       name="aPreferredAdress"
       value="#Trim(queryResults.aPreferredAdress)#"
       message="Please provide the company name"
       required="yes"
       validateAt="onSubmit,onServer"
       size="80"
       maxlength="100">
      </td>
    </tr>
    <tr>
      <td>
       Home Phone:
      </td>
      <td>
       <cfinput type="Text"
                name="aHomePhone"
                value="#Trim(queryResults.aHomePhone)#"
                message="Home Phone is required"
                required="Yes"
                validateAt="onSubmit,onServer"
                size="20"
                maxlength="20">
      </td>
    </tr>
    <tr>
      <td>
       Work Phone:
      </td>
      <td><cfinput type="Text"
                name="aWorkPhone"
                value="#Trim(queryResults.aWorkPhone)#"
                message="Work Phone is required"
                required="Yes"
                validateAt="onSubmit,onServer"
                size="20"
                maxlength="20"></td>
    </tr>
    <tr>
      <td>
       Cell Phone:
      </td>
      <td><cfinput type="Text"
                name="aCellPhone"
                value="#Trim(queryResults.aCellPhone)#"
                message="Cell Phone is required"
                required="Yes"
                validateAt="onSubmit,onServer"
                size="20"
                maxlength="20"></td>
    </tr>
    <tr>
       <td>Country:</td>
       <td><!--- Country list --->
       <select name="acountries">
        <cfoutput query="Countryquery">
         <option value="#CountryName#"<cfif Countryquery.CountryName IS queryResults.aCountry>selected</cfif>>#CountryName#</option>
        </cfoutput>
       </select></td>
    </tr>
    <tr>
       <td colspan="2"></td>
       </tr>
    <tr>
       <td colspan="2"> <strong>
            </strong>
            <cfinput type="radio" name="WantRepresent" id="WantRepresent" value="Yes">
            Yes, I want to be a class representative of
    <strong>
      <cfinput type="text" name="aYear" id="aYear" style="visibility:hidden">
    </strong></td>
       </tr>
    <tr>
       <td colspan="2"> </td>
    </tr>
    <tr>
      <td colspan="2" align="center">
       <input type="submit" value="Update">
      </td>
       </tr>
    </table>
    </cfform>
    <!--- Page footer --->
    <cfinclude template="includes\footer.cfm">
    and the action code is this:
    <!--- Update movie --->
    <cfquery datasource="alumniupdateform" name="queryResults">
    SELECT *
    FROM Alumni
    </cfquery>
    <cfquery datasource="alumniupdateform">
    UPDATE Alumni
    SET aName='#Trim(FORM.aName)#',
        aLastName='#Trim(FORM.aLastName)#',
        aCompany='#Trim(FORM.aCompany)#',
        aEmail=#FORM.aEmail#,
        aPreferredAdress='#Trim(FORM.aPreferredAdress)#',
        aHomePhone='#Trim(FORM.aHomePhone)#',
        aWorkPhone='#Trim(FORM.aWorkPhone)#',
        aCellPhone='#Trim(FORM.aCellPhone)#',
        aCountry='#(FORM.acountries)#'
    WHERE Id="#queryResults.ID#"
    </cfquery>
    <!--- Page header --->
    <cfinclude template="includes\header.cfm">
    <!--- Feedback --->
    <cfoutput>
    <h1>Contact '#FORM.aName#' updated</h1>
    </cfoutput>
    <!--- Page footer --->
    <cfinclude template="includes\footer.cfm">
    If someone can help me with this I would really appreciate.
    Thanks

    I see this comment on your form page.
    <!--- Embed primary key as a hidden field --->
    But on your action page, you don't use it.  That's a problem.

  • How do I create a Pdf form for others?

    I have finally figured out how to make a pdf form, but my client wants to be able to attach the file to his e-mail and send it to his relations.
    How do I create a pdf form with his adress in stead of my own e-mailaccount?
    Tried to adjust my id in the preferences on my Mac, but that is not a safe way I guess...
    Can anybody help me out, I'm stuck...
    Bob

    Yes, I want to enable the client's relations to be able to click on a link
    in the pdf to automatically submit the pdf to his e-mail address.
    Now a purple bar shows up when a 'relation' opens the pdf form.
    In this bar is a button included for sending the form, but they have to
    confirm the adding of their reaction to the 'reactions-file'. This refers to
    the location where I authenticallly saved the file (on my hard disk).
    I can adjust the reply e-mail adress by temporarily adjusting my id in
    Acrobat preferences, but I don't know the future location of the reaction
    file.
    It's a difficult question, but it's based on the question: Is it possible to
    make a pdf form for somebody else; so they can send en receive the reactions
    on their moment and their wanted location?
    Op 02-04-10 04:32, carltondaniel <[email protected]> schreef:
    hi bob
    are you saying the email address is on the pdf as plain text? or are you
    wanting to enable the client's ³relations² to be able to click on a link in
    the pdf to automatically submit the pdf to his email address?
    daniel
    >

  • How do I create a fillable form from an existing document (PDF, Word, etc)?

    How do I create a fillable form from an existing document (PDF, Word, etc)?

    In Acrobat 11 you'd select: Tools > Forms > Edit
    to go into form editing mode. You'll see the tools that are available, thought it may prompt you to autodetect the fields. I usually don't do this, preferring to create them myself.

  • How do I create a feedback form in iweb1.1.2

    how do I create a feedback form in iweb1.1.2

    Read the following.
    http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm ?context=ColdFusion_Documentation&file=part_get.htm

  • How do I creat a filliable form from a scan document?

    How do I create a fillable form from a scan word document using Adobe Acrobat XI Pro?

    Hi melaniev10032955,
    You might need to follow these steps to convert word into fillable PDF form:
    Open the scanned word document
    Click File> Print> Adobe PDF
    A PDF file would be created that would automatically open in Acrobat XI pro
    At this point, you would have a basic PDF file which still needs to get converted into fillable form
    Choose "Tools> Text Recognition> In this File" to run OCR to make your scanned doc searchable.
    Now, go to "Tools> Forms> Create"
    Acrobat will ask some questions. On the first screen, make sure 'Use an existing file' is selected and then click Next.
    On the next screen, 'Use the current document' must be selected.
    You might need to edit few fields manually. Then, just click Preview button on the top and check how you PDF form appears.
    Try this out and let me know if you face any problem.
    Regards,
    Anubha

  • How can I create more than one main window in a page of SAP SCRIPT?

    How can I create more than one main window in a page of SAP SCRIPT? If anybody helps me I will be obliged.
    Regards,
    Subhasish

    Hi Ganguly,
    It is possible to have more than one main window in a same page.
    You create a main window and simply you copy and past it in the same page.. it will create first main window name as MAIN and other main windows as MAIN01,MAIN02.... up to MAIN99.
    Contets flow from MAIN , MAIN01, MAIN02.......................MAIN99. contents after filling the current window it flows to next window(by default, you skip as well with some keyword not sure could be NEW-WINDOW)
    you want print the main window data twice? or you want to create two main window in the same page ?
    1. give two copies in the no of copies in the output type screen ( Which pop up is coming after excute the program ).
    2. create two page with the same script form.
    3. you can write the coding inside the program to print twice the same page.
    Hope this information use full to you..

  • How can I create a text pop up window in my Pages document? I want text to pop up when the reader hovers his/her cursor over a certain word.

    How can I create a text pop up window in my Pages document? I want text to pop up when the reader hovers his/her cursor over a certain word in the document. I am teacher. So for example when a student came to word he/she did not know, if he/she hovered the cursor over the word, a defintion or other information would appear.  You can do this in Word using bookmarks/hyperlinks but I can't figure this out in Pages. I can link it to another point in my Pages document but I just need the text to pop up - not take the reader to another location.  THANK YOU!!!!!!

    Have you tried Word for Mac?
    You will need to test if links survive export or printing to .pdf
    Peter

  • How do I create a pdf from just one or two pages of an existing pdf?

    I just purchased this product (acrobat online)
    and it is not allowing me to do the things it promised, e.g. saving portions of one pdf to another, combining pages or entire docuements to create, even typing into a document (editing)! I am so frustrated - can someone please help!?

    But I jut paid $89.00 for the adobe pack - if I subscribe to Acrobat Plus, will that be credited?
    Date: Thu, 19 Sep 2013 15:50:14 -0700
    From: [email protected]
    To: [email protected]
    Subject: Files.Acrobat.com How do I create a pdf from just one or two pages of an existing pdf?
        Re: How do I create a pdf from just one or two pages of an existing pdf?
        created by H.Spector in Files.Acrobat.com - View the full discussion
    Hi,
    Thank you for your subscription.  If you are Acrobat Plus subscriber then you can extract the pages from the PDF file using Tools> Pages> Extract pages.
    You can find "Tools" at right top once you open your PDF file in Acroat.
    If you are subscriber to PDF Pack then please download Acrobat XI Plus from www.adobe.com.
    PDF Pack service offers "Convert to PDF", "Export from PDF"(to Word/PowerPoint/Excel/RTF formats so that you can edit the exported files) and "Combine Files" (combine your files into a single PDF file).
    Please let me know if you have any quesitons.
    thank you.
    hisami
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5697921#5697921
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5697921#5697921
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5697921#5697921. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Files.Acrobat.com by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How do i create mailing labels for an avery template using pages

    how do i create mailing labels for an avery template using pages.

    mcc,
    The first topic in the "More LIke This" box to the right of your question is a rather comprehensive address label printing discussion. Does it answer your question?
    Jerry

  • OK now that there is no option to reveal "database" panel in DW CC, how do I create a database connection and build my phpmysql pages?

    Is there an alternative way other than manually entering PHP code?

    Thanks, It works. Author of the article politely says what many of us have to say to Adobe when they make "improvements" - WTF, Adobe???
          From: Ben Pleysier <[email protected]>
    To: Jon Lane <[email protected]>
    Sent: Saturday, January 31, 2015 1:44 AM
    Subject:  OK now that there is no option to reveal "database" panel in DW CC, how do I create a database connection and build my phpmysql pages?
    OK now that there is no option to reveal "database" panel in DW CC, how do I create a database connection and build my phpmysql pages?
    created by Ben Pleysier in Dreamweaver support forum - View the full discussionWeb development tutorial
    Deprecated Server Behaviors for Dreamweaver Creative Cloud
    WebAssist A better, more secure and future proof way MySQLi Server Behaviors
    Dreamweaver extension
    WebAssist If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7148099#7148099 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7148099#7148099 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Dreamweaver support forum by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • How do I create a PDF Form in Pages

    I am trying to work out how I can create a questionnaire in Pages with drop down boxes that converts to a PDF form for my clients to complete.
    At present I am using Serif on my Windows Laptop but would like to use the Mac to do this.
    The aim is that my clients are able to complete a questionnaire and return via email without loosing design.

    The aim is that my clients are able to complete a questionnaire and return via email without loosing design.
    While this capability is supported in the PDF page description model, the capability is not supported in Apple Pages ´08 (or I missed something ... -:)).
    /hh

  • How do I Create a Tabular Form for an Intersection Table

    Situation
    There are three tables involved (PROJECT, STAFF, TASK)
    PROJECT(PROJECT_ID, PROJECT_NAME)
    STAFF(STAFF_ID, STAFF_NAME)
    TASK(PROJECT_ID, STAFF_ID, HOURS)
    There is a many to many relationship between PROJECT and STAFF. The intersection table is TASK.
    Issue
    I would like to create a tabular form for the TASK table. I would like to be able to click on a button (Add Row) to add a row to the existing tabular form. The row will have a LOV for the PROJECT_ID (showing PROJECT_NAME) and one for the STAFF_ID (showing STAFF_NAME) and a free form text field for the hours.
    I've tried a bunch of different ways but am unable to acheive this functionality. I must be doing something wrong. This sort of thing is trivial.
    Any guidance/suggestions are greatly appreciated.
    Thanks

    Adding a new surrogate key column to an existing table is not that big a deal.
    alter table t add (pk int primary key);
    create a before-insert row-level trigger to populate the key;Other than that, you are out of luck w.r.t the wizards. Yes, you can define a 2nd PK column in the wizard, but then the 2 PK columns becomes read-only (but you want to update them).
    You can write your own tabular form using htmldb_item APIs and your own after submit processes to process the updates. See the manual Tabular Form Howto in the documentation.
    Thanks

  • How can I create a fillabe form

    I want to make a form fillable, in an E-Version. How do I do that?

    Hi BenOlson60,
    Kindly refer to these links: http://help.adobe.com/en_US/acrobat/X/pro/using/WSB3F26303-0F1D-494a-BC55-7BF7F6684B4D.htm l
    Create fillable PDF forms | Acrobat
    Regards,
    Florence

Maybe you are looking for