Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > BOOK: Beginning Oracle Application Express ISBN: 9780470388372
BOOK: Beginning Oracle Application Express ISBN: 9780470388372
This is the forum to discuss the Wrox book Beginning Oracle Application Express by Rick Greenwald; ISBN: 9780470388372
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Oracle Application Express ISBN: 9780470388372 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 17th, 2009, 07:10 AM
Friend of Wrox
Join Date: May 2005
Posts: 227
Thanks: 1
Thanked 7 Times in 7 Posts
Default chapter 9: Limiting Access to Items Functionality Verification Needed

Chapter 9 Limiting Access to Items, pp.284 - 288, exercise #4 on page 286 in particular, does not retain the date entered by the MANAGER. I also read the last paragraph at the bottom of page 287. However, my suspicion for why it is not retaining the entered date is due to the calculation of the ORDER_SHIP_DATE from pp.246-249.

My resolution is as follows:
1.  Return to the development environment and select the master-detail page to edit.
2   Select from Page Processing column>Computatiions Section, Pn_ORDER_SHIP_DATE.
3.  Select [Computations] for the PL/SQL code added from Chapter 8.

4.  Insert the following after begin:
return (:Pn_ORDER_SHIP_DATE); where n is the number of master-detail page
5. Scroll to bottom of PL/SQL code, just above the return statement, add:
end if;
6. Click Apply Changes.
The above code accepts any and all dates the Manager enters.

QUESTION: Could I have made the the computation conditional instead of unconditional and added the PL/SQL code of the :APP_USER ='MANAGER' statement as Expression1 and the Return(:P4_ORDER_SHIP_DATE) as Expression 2 and get the same results?

Thanks in advance.
Disclaimer: The above comments are solely the opinion of one person and not to be construed as a directive or an incentive to commit fraudulent acts.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced Calendar functionality in Access scrawford Access 0 February 15th, 2007 08:25 PM
MS Access SOAP or XML Functionality BrianWren Access 1 May 4th, 2006 06:51 AM
Limit access to upload page functionality jacob ASP.NET 1.0 and 1.1 Professional 2 November 23rd, 2005 03:02 PM
Access denied error (Needs Print functionality) agg_rohit Javascript 1 January 27th, 2005 03:04 PM
Listing and limiting items from a database RPG SEARCH ASP.NET 1.0 and 1.1 Basics 11 August 3rd, 2004 04:37 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.