Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Database > BOOK: Beginning Oracle Application Express ISBN: 9780470388372
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 17th, 2009, 08:10 AM
Friend of Wrox
Points: 793, Level: 10
Points: 793, Level: 10 Points: 793, Level: 10 Points: 793, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2005
Location: OKC, OK, USA.
Posts: 227
Thanks: 1
Thanked 7 Times in 7 Posts
Default chapter 9: Limiting Access to Items Functionality Verification Needed

Hi:
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:
Code:
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:
if :APP_USER = 'MANAGER'
then
return (:Pn_ORDER_SHIP_DATE); where n is the number of master-detail page
else
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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 07: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 05:37 PM



All times are GMT -4. The time now is 08:10 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.