owa_util.choose_date procedure owa_util.dateType data type

The owa_util Package 9-5

9.5 owa_util.choose_date procedure

This procedure generates three HTML form elements that allow the user to select the day, the month, and the year. The parameter in the procedure that receives the data from these elements must be a owa_util.dateType data type . Use the owa_util.todate function to convert the owa_util.dateType data type value to the standard Oracle Database version 7 DATE data type. Table 9–4 describes the properties of the owa_util.choose_date procedure. owa_util.cellsprint p_theCursor in integer p_max_rows in number DEFAULT 100 p_format_numbers in varchar2 DEFAULT NULL p_skip_rec in number DEFAULT 0 p_more_data out boolean p_reccnt out number; Parameters: p_colCnt - the number of columns in the table. p_theQuery - a SQL SELECT statement. p_theCursor - a cursor ID. This can be the return value from the owa_util.bind_ variables function . p_max_rows - the maximum number of rows to print. p_format_numbers - if the value of this parameter is not NULL, number fields are right-justified and rounded to two decimal places. p_skip_rec - the number of rows to exclude from the HTML table. p_more_data - TRUE if there are more rows in the query or cursor, FALSE otherwise. p_reccnt - the number of rows that have been returned by the query. This value does not include skipped rows if any. p_resultTbl - the index table which will contain the result of the query. Each entry in the query will correspond to one column value. Generates: trtdQueryResultItemtdtdQueryResultItemtdtr trtdQueryResultItemtdtdQueryResultItemtdtr Table 9–3 Cont. owa_util.cellsprint procedure Properties Definitions 9-6 Oracle Fusion Middleware PLSQL Web Toolkit Reference

9.6 owa_util.dateType data type

The owa_util.todate function converts an item of this type to the type DATE, which is understood and properly handled as data by the database. The procedure owa_ util.choose_date procedure enables the user to select the desired date. Table 9–5 describes the properties of the owa_util.dateType data type.

9.7 owa_util.get_cgi_env function