• 网络学院
  • IT资讯
  • 操作系统
  • 网络技术
  • 软件应用
  • 办公软件
  • 编程技术
  • 网站架设
  • 数据库类
  • 平面设计
  • 多媒体类
  • 游戏资讯
  • 教学论文
  • 认证考试
开发技术:调查您的应用程序需求
  站点:
  • 首 页
  • 最新软件
  • 文章教程
  • 国内软件
  • 国外软件
  • 绿色软件
  • 源码下载
  • 字体下载
开发技术:调查您的应用程序需求
软件发布 开发技术:调查您的应用程序需求
网络软件 系统工具 应用软件 联络聊天 图形图像 多媒体类 行业软件 游戏娱乐 编程开发 安全相关 教育教学 数码软件 绿软下载
热门软件: QQ 瑞星 pplive e话通 木马克星 千千静听 office2000 五笔字根 Photoshop 视频分割
返回文章教程首页 >> 文章首页 >> 认证考试 >> Oracle认证 >> Oracle指导 >> 开发技术:调查您的应用程序需求

开发技术:调查您的应用程序需求

添加时间: 2008-4-23 22:54:45  作者: Oracle指导  阅读次数:24   来源: http://www.d9soft.com

        1. On the page definition screen for page 1, under Shared Components, in the List of Values section, click the Add icon.
2. For Create List of Values, select From Scratch and click Next.
3. Enter a value for Name, such as response options 1 through 5; select the Dynamic option; and click Next.
4. Enter the SQL query in Listing 2 into the page.

Code Listing 2: List of values query


select 1 display_value, 1 return_value from dual union all
select 2 display_value, 2 return_value from dual union all
select 3 display_value, 3 return_value from dual union all
select 4 display_value, 4 return_value from dual union all
select 5 display_value, 5 return_value from dual
order by display_value

5. Click Create List of Values.

Add answers to the region. Now you need to add the answers to the region.

1. In the Items section of the page 1 definition screen, click the Add icon.
2. Click Create multiple items at the bottom of this screen.
3. In the Create Items in Region list, select the new HTML region: Oracle Application Express Workshop Survey ....
4. Enter eight items named P1_A1 through P1_A8.
5. Change the item Label field to the case-sensitive string &P1_Qn.—where n is the number of the current answer. (Note the period at the end of these values.)
6. For the type of each item, select Radio Group.
7. Click Create Multiple Items.
8. In the Items section of the page 1 definition screen, under Items, for each of the new Radio Group items, click the name—P1_An,—and in the Edit page, in the List of Values section, select the name you gave the list of values you created (such as response options 1 through 5), and enter 5 for Columns.

Add a process. Now add a process to populate the P1_Qn question items with the values of the first eight questions.

1. In the Processes section of the Page Processing section on the page 1 definition screen, click the Add icon.
2. Select PL/SQL, and click Next. 3. Enter a name.
4. For Point, select On Load-Before Header.
5. Click Next.
6. Copy and paste the following into the text box:


for

:P1_Q8 := c1.question; end if; end loop;
and click Next.7. Click Next, and finally click Create Process. Add validation. Now add validation to ensure that everyone who takes the survey answers all of the questions. 1. In the Validations section of the page 1 definition screen, click the Add icon.2. Click Create Multiple, not null validations at the bottom of this screen.3. Select the eight answer items (P1_A1 through P1_A8), and click Create Not Null Validation. Add a Next button. Add a button called Next to the HTML region.

1. In the Buttons section of the page 1 definition screen, click the Add icon.
2. Select the Oracle Application Express Workshop Survey region, and click Next.
3. Select the Create a button in a region position, and click Next.
4. Click the brown [Next] link to enter Next as the Name and Label, and click the Next button.
5. Click Next.
6. For Position, select Bottom of Region, and click Next.
7. For Branch to Page, click the pop-up-list icon, select 2 Workshop Survey cont., and click Create Button.

Build Page 2

Now build page 2 to include the final two questions and their answers.

Create a region. Navigate to the definition screen for page 2, by entering 2 into the Page field and clicking on Go. On page 2, use the same instructions and region name you used to create the region in page 1.

Add questions to the region. Follow the instructions you used to create the questions on page 1. Name these page 2 questions P2_Q9 and P2_Q10.

Add answers to the region. Follow most of the instructions you used to create the answers on page 1. Name these page 2 answers P2_A9 and P2_A10, label the answers &P2_Q9. and &P2_Q10., and select Textarea for the Type attribute of these answers.

Add a PL/SQL process. Follow the instructions you used earlier to add a PL/SQL process to page 1 to add the following to a PL/SQL process in page 2:


for c1 in ( select *
              from survey_questions
             where id >= 9 order by id)
loop
    if c1.id = 9 then
        :P2_Q9 := c1.question;
    else
        :P2_Q10 := c1.question;
    end if;
end loop;

Next Steps

LEARN more about Oracle Application Express

DOWNLOAD
Oracle Database 10g
Oracle Application Express
sample application code
 
Add a Submit button. Add a Submit button to page 2 following the same the instructions you used earlier to add a Next button to page 1. When adding this button, name and label it Submit and, when prompted, set its branch target to page 3.

开发技术:调查您的应用程序需求(2) 第 [1] [2] [3]  下一页

 

上下文章:

 

上一篇文章: 开发技术:关于变量、移动以及含义 下一篇文章: dbv能用来检查日志文件吗

相关文章:

  • 教你如何用零框架技术加密网页
  • 用端口碰撞技术实现服务器远程管理
  • 城域网光缆线路设计与技术应用
  • AV杀手变种强行关闭杀度软件与下载恶意程序
  • Oracle开发人员JAVA存储过程

相关软件:

  • FTP远程文件同步更新程序 1.0.0.0
  • CGI技术全面接触(PDG)
  • Grove[.NET组件开发包] V1.2.1640
  • 技术人员实用工具合集 06/03/21 [机必备工具]
  • 关闭有害木马端口程序
  • 终极程序加密器 2.98

 

快速导航

  • 网络学院
  • 精品汇聚
  • 字体下载
  • 教程下载
  • ASP源码
  • PHP源码
  • Net源码
  • JSP 源码

Oracle认证分类导航

  • Oracle动态
  • Oracle指导
  • Oracle题库

本类经典文章推荐

  • Oracle中关于逻辑备份与恢复
  • Oracle开发人员JAVA存储过程
  • 为数据库的表自动生成行号
  • Oracle中的OOP概念
  • 用java从oracle取数
  • 冷备份移植到另一台Solaris机器上
  • 如何将excel数据导入oracle中
  • Oracle10.2g安装记录
  • 数据库监控工具ForOraclev1.2
  • oracle双机群集系统

Oracle指导阅读排行

  • Oracle系统表查询
  • 实例:Oracle导出EXCEL文件
  • Oracle常用的OCI函数上
  • Oracle企业管理器(OEM 2.1)使用...
  • Tomcat+SQLServer连接池配置
  • 如何将excel数据导入oracle中
  • 如何取出某一用户的密码 再原样改...
  • 实例:Oracle导出EXCEL文件
  • 案例学习Oracle错误:ORA-00604
  • 案例学习Oracle错误:ORA-00060

Oracle认证阅读总排行

  • Oracle系统表查询
  • 实例:Oracle导出EXCEL文件
  • Oracle常用的OCI函数上
  • 在ORACLE的存储过程中如何做简单的...
  • Oracle企业管理器(OEM 2.1)使用...
  • Tomcat+SQLServer连接池配置
  • 如何将excel数据导入oracle中
  • AIX下自动启动Oracle数据库与监听...
  • 如何取出某一用户的密码 再原样改...
  • 实例:Oracle导出EXCEL文件

广告位置

字母检索 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 回到顶部

关于我们 | 版权声明 | 免责条款 | 广告联系 | 软件发布 | 下载帮助 | 下载排行 | 网站地图 | 特别鸣谢 | 友情连接

copyright; 2005-2008 D9soft.com 第九软件网 版权所有