618545
614
Zoom out
Zoom in
Previous page
1/661
Next page
607
USING DREAMWEAVER
Building applications visually
Last updated 3/28/2012
4 Enter the ColdFusion Data Source user name and password.
5 Select a stored procedure from the Procedures pop-up menu.
Dreamweaver automatically fills in any parameters.
6 Select a parameter, and click Edit if you have to make changes.
The Edit Stored Procedure Variable dialog box appears. The name of the variable you are editing appears in the Name box.
Note: You must enter test values for any stored procedure input parameters.
7 Make changes as necessary:
Select a Direction from the pop-up menu. A stored procedure might have input values, output values, or both input
and output values.
Select a SQL type from the pop-up menu. Enter a return variable, a run-time value, and a test value.
8 If the stored procedure takes a parameter, click the Plus (+) button to add a page parameter.
Note: You must enter corresponding page parameters for each stored procedure parameter return value. Do not add page
parameters unless there is a corresponding return value.
Click the Plus (+) button again to add another page parameter, if necessary.
9 Select a page parameter, and click the Minus (-) button to delete the parameter if necessary or click Edit to make
changes to the parameter.
10 Select the Returns Recordset Named option, and then enter a name for the recordset; if the stored procedure returns
a recordset, click the Test button to see the recordset that the stored procedure returns.
Dreamweaver runs the stored procedure and displays the recordset, if any.
Note: If the stored procedure returns a recordset and takes parameters, you must enter a value in the Default Value
column in the Variables box to test the stored procedure.
You can use different test values to generate different recordsets. To change test values, click the Edit button for
Parameter, and change the test value, or click the Edit button for Page Parameter and change the default value.
11 Select the Returns Status Code Named option, enter a name for the status code, if the stored procedure returns a
status code return value. Click OK.
After you close the box, Dreamweaver inserts ColdFusion code in your page that calls a stored procedure in the
database, when the code runs on the server. The stored procedure in turn performs a database operation, such as
inserting a record.
If the stored procedure takes parameters, you can create a page that gathers the parameter values and submits them to
the page with the stored procedure. For example, you may create a page that uses URL parameters or an HTML form
to gather parameter values from users.
More Help topics
Define an advanced recordset by writing SQL” on page 538
Run a stored procedure (ASP)
With ASP pages, you must add a command object to a page to run a stored procedure. For more information on
command objects, see
About ASP command objects” on page 604.
1 In Dreamweaver, open the page that will run the stored procedure.
614


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Adobe DREAMWEAVER CS5.5 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Adobe DREAMWEAVER CS5.5 in the language / languages: English as an attachment in your email.

The manual is 21,23 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

Others manual(s) of Adobe DREAMWEAVER CS5.5

Adobe DREAMWEAVER CS5.5 User Manual - German - 753 pages

Adobe DREAMWEAVER CS5.5 User Manual - Dutch - 725 pages


The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info