[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

10/02/2009 at 11:51AM PDT, ID: 24781187
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.6

How to put in the table alias name?

Asked by geeta_m9 in Oracle Database, Oracle 3rd Party Tools

Tags: Oracle Forms

The form that I am working on has a key block Swamajr_Key_Block followed by the first database block, Swbmajr further down the list. When I enter all the values into the text items in the key block and press Page Down, then control will move to the Swbmajr block. The Swbmajr block is tied to the table Swbmajr. In the WHERE clause property of this data block, I wish to write the following code:


SELECT A.SWBMAJR_SBGI_CODE, A.SWBMAJR_MAJR_CODE, A.SWBMAJR_CONC_CODE,
    A.SWBMAJR_DEGT_TRNS, A.SWBMAJR_DEGC_INST, A.SWBMAJR_YEAR_CODE
    FROM SWBMAJR A
    WHERE A.SWBMAJR_SBGI_CODE = :Swamajr_Key_Block.Inst_Code
    AND Swbmajr_degt_trns = :Swamajr_Key_Block.Degt_Trns_Code
    AND Swbmajr_degc_inst = :Swamajr_key_block.degc_inst_code
    AND Swbmajr_majr_code = :Swamajr_key_block.majr_code
    AND Swbmajr_conc_code = :Swamajr_key_block.conc_code
    AND Swbmajr_acyr_code =
                      (SELECT MAX (B.swbmajr_acyr_code)
                            FROM swbmajr B
                            WHERE B.SWBMAJR_ACYR_CODE <= :Swamajr_key_block.term_code_eff
                            AND B.SWBMAJR_SBGI_CODE = A.SWBMAJR_SBGI_CODE
                        AND B.SWBMAJR_DEGT_TRNS = A.SWBMAJR_DEGT_TRNS
                        AND B.SWBMAJR_DEGC_INST = A.SWBMAJR_DEGC_INST
                        AND B.SWBMAJR_MAJR_CODE = A.SWBMAJR_MAJR_CODE
                        AND B.SWBMAJR_CONC_CODE = A.SWBMAJR_CONC_CODE);

My question is how can I put the alias A in the FROM statement when the properties for the data block starts with the WHERE Clause? What I mean is that there is no FROM clause for me to put SWBMAJR A. Or  could I just use the keyblock values in there too, i.e. AND B.SWBMAJR_SBGI_CODE = :Swamajr_Key_Block.Inst_Code
                        AND B.SWBMAJR_DEGT_TRNS = :Swamajr_Key_Block.Inst_Code, etc.
[+][-]10/02/09 11:59 AM, ID: 25480946

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/02/09 12:09 PM, ID: 25481046

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/02/09 12:31 PM, ID: 25481232

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/02/09 12:56 PM, ID: 25481486

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/02/09 01:33 PM, ID: 25481849

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/02/09 03:39 PM, ID: 25482843

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/03/09 04:49 AM, ID: 25484901

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/03/09 10:38 AM, ID: 25486071

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/05/09 05:46 AM, ID: 25494643

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/05/09 09:09 AM, ID: 25496583

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/05/09 10:57 AM, ID: 25497667

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Oracle Database, Oracle 3rd Party Tools
Tags: Oracle Forms
Sign Up Now!
Solution Provided By: flow01
Participating Experts: 4
Solution Grade: A
 
 
[+][-]10/05/09 10:33 PM, ID: 25502080

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74 - Hierarchy / EE_QW_3_20080625