Conditional NAT to subinterface that is the counterpart to site to site

Hi all

External interface of the ASA is the endpoint for remote access clients. RA clients receive 172.5.x.0 IPs. I created a subinterface in DMZ with the ip x.x.x.71. I will establish a site-to-site for this subinterface. It is...

RA customers should be able to reach an IP address for a remote peer from site to site VPN based on subinterface. But the remote peer will not be 172.5.x.0 on their site. They want to see a real IP address. Here's what I thought

Do a conditional NAT to network 172.5.x.0 for subinterface ip by the following addition. Subinterface has the security level of 3, and outside was 0.

access-list 101 permit ip 255.255.255.0 172.5.x.0

NAT (inside) 10 101 access list

global interface (sous-interface) 10

And I get

WARNING: Link inside the nat in outermost interface declaration.

WARNING: Keyword 'outside' is probably missing.

Should I type

NAT (outside) 5 172.5.x.0 255.255.255.0 outside

Or should I chenge level of security outside 1 and subinterface to 0? What affects that would cause? Isn't it? How the split tunneling should work in the future.

I used some packet-trace and watched a bunch of 172.5.x to lan remote but it doesn't through my conditional Nat. It will first of all through the route

Route subinterface remotelan remotemask subintgateway

So instead walk through the NAT condit, he walks through the external and I get

6 on October 19, 2007 19:49:01 109025 172.5.x.88 x.175.x.193 permission denied (acl = SCSVPN01_restrict) to the user "testbayi" of 172.5.x.88/1499 to x.175.x.193/80 on the interface to the outside using TCP

Any help is very appreciated

I will not allow the same traffic to security

Concerning

First of all, you should try command "nat (outside) 5 172.5.x.0 255.255.255.0 out" and if it does not, you can change the security level on the outside at 1 and subinterface to 0. Another solution would be to set up crossed on the SAA.

Tags: Cisco Security

Similar Questions

  • bar address has a little arrow that shows the various web sites, they came and how to get rid of? This isn't a bar history!

    address bar has the little arrow that displays a list of various web sites when I click on it. I don't know where they come from or how to remove, have you tried various. This isn't the menu background. It seems no rhyme or reason to what is on this list, some recent, but older or don't remember even being on the site. Some are sensitive that I don't want not preserved, such as the Web-site of the Bank.

    Hi, these articles should help you-

    If your question is resolved by this or another answer, please take a minute to let us know. Thank you.

  • What is this pop "microsoft defender commando" that blocks the av installation?

    I tried to install norton 360 on my win 7 laptop hp n that it is blocked... wth!

    HI RJ.

    If it's only 2 weeks, you probably don't have much new data on this subject yet or the original backup is always available or you could save something new to a disk or drive flash or something.  I would say then restore you to factory conditions and see if that fixes the problem.  If this isn't the case, then SOMETHING is installed from the factory setting and we just need to know what it is.  But one step at a time.  I very, very rarely recommend a restore to fresh from the factory as something close to the first step, but at 2 weeks, it is probably the best choice here.  This means start over again with all the updates, program installations, configurations, networked and everything - and restore backups, if necessary - but that should help determine if it is part of the installation in factory or something that happened since and disappears once restore you.  If it is an infection, this should remove.  If it is a program, then if it appears again, we will proceed as follows (which is also how to suggest you do now if you are not ready to do a factory restore).

    If you are not willing to try something this radical yet, it's very well.  Download Belarc Advisor: http://www.belarc.com/free_download.html and he can tell you what programs are installed that do not seem to appear otherwise.  If none look like our guilty, then download Revo: http://www.revouninstaller.com/revo_uninstaller_free_download.html and use it to remove the program completely.  Then see if that solves the problems.  In the meantime, I'll take look closer this particular model.

    I hope this helps.

    Good luck!

  • Is it possible for an index that includes the condition 'GOLD '?

    Hello, I have a few questions.

    The test was conducted in the following procedure.

    ################################
    create table test
    (
    VARCHAR2 (10) C1.
    C2 varchar2 (10),
    key (c1) elementary school

    );

    create index test_idx1 on test (c2);

    Command > explain select * test where c1 = 'JOHN' or c2 = "JOHN";

    Query optimizer plan:

    STEP: 1
    LEVEL: 1
    OPERATION: RowLkRangeScan
    TABLENAME: TEST
    IXNAME: TEST
    CONDITION INDEX: < NULL >
    NOT INDEXED: TEST. C2 = 'JOHN' OR TEST. C1 = 'LUCY '.

    Command >


    Command > explain select * test where c1 = 'LUCY' and c2 = "ABDELLAH.

    Query optimizer plan:

    STEP: 1
    LEVEL: 1
    OPERATION: RowLkRangeScan
    TABLENAME: TEST
    IXNAME: TEST
    INDEXED CONDITION: TEST. C1 = 'ABDELLAH.
    NOT INDEXED: TEST. C2 = "ABDELLAH.

    Command >
    ################################

    By adding the status of "GOLD" in this test does not use the index.

    Is it possible for an index that includes the condition 'GOLD '?

    Thank you.

    GooGyum.

    A database can generally use indexes in this way for one 'or' with two different columns. However, for this example specific can easily rewrite the query using 'UNION' to use the relevant hints while still giving the same result (correct):

    Command > explain select * from t1 test where t1.c1 = 'LUCY' union select * test t2 where t2.c2 = "JOHN";

    Query optimizer plan:

    STEP: 1

    LEVEL: 1

    OPERATION: RowLkRangeScan

    TABLENAME: TEST

    IXNAME: TEST

    INDEXED CONDITION: T1. C1 = 'ABDELLAH.

    NOT INDEXED:

    STEP: 2

    LEVEL: 2

    OPERATION: RowLkRangeScan

    TABLENAME: TEST

    IXNAME: TEST_IDX2

    INDEXED CONDITION: T2. C2 = "ABDELLAH.

    NOT INDEXED:

    STEP: 3

    LEVEL: 1

    OPERATION: OrderBy

    TABLE_NAME:

    IXNAME:

    INDEXED CONDITION:

    NOT INDEXED:

    STEP: 4

    LEVEL: 2

    OPERATION: UnionMergeSort

    TABLE_NAME:

    IXNAME:

    INDEXED CONDITION:

    NOT INDEXED:

    Maybe you can apply something similar? If you know that there is no possibility of duplicate lines then you can optimize it (in terms of performance) by using UNION all.

    Chris

  • under condition of read/write terminals on the side of the connector (basic training 3)

    Hello

    During my practice towards the review of the CLD, I examine the Core 3 online training material too. I just read a few tips of 'best practices' on the forum, for example this post:

    http://forums.NI.com/T5/LabVIEW/Community-Nugget-wired-terminals-in-subdiagrams-clearing-up-the/m-p/...

    It should be noted, that we should not use terminals (which are on the connector pane) to the inside of while loop or condition of the structure. Neither control, nor indicators (read/write terminals): "terminals conditionally read or written on the side of the connector are BAD!"

    I can find many examples in the online training materials, when the indicators and controls are placed inside while loop and the case of structures in a Subvi.

    I guess I should not do this during my review of the CLD, as they will run benchmark on my project? Should not be the core training materials updated some time? Or it's just not too important to have terminals on the outside? I would lose points during the CLD Exam my project as in the Core 3 screws?

    example 1: Core 3, exercise 4-6 design of an error-handling strategy:

    EDIT:

    What's even more ugly in this project, is that, in the case of 'Get empty Cue', the Cue output indicator is updated via a local variable, because the indicator is not accessible via 'outside ': wire

    Nice catch on the training material.  that the application would take an if subject to a review of the CLD test graders.

    As noted in the nugget: sentencing of perfomance for conditionally reached terminals is a function of the size of the data.  So, it is sometimes acceptable for simple data.  The larger point being to learn about compromise and make the right choice for your code.

    Preping for the CLD on other means of hand knowing that VI Analyzer will run on your project.  Like any other code review you walk in - know the guidelines for the review and code to ' review ' as well as 'reply spec.'

    I've not seen an instance where an example of shipping (2013 and later versions) would fail this test VIA (there are a few screws deep inside the vi.lib which can date back to before the adoption of this recommendation from style)

  • What conditions must exist before that Vista will be puy a computer on standby?

    What conditions must exist before Vista will put the computer to sleep?

    I'm having a horrible time to getting my computers to turn out to fall asleep on their own.

    Wake-on-Lan is disabled.  Power options are:

    Disable hard drive: never
    Sleep after 10 minutes
    Selective suspension of USB enabled or disabled - makes a difference in my tests
    Link state power management off
    Processor power management: 10% to 100%
    Savings power search and indexing method: energy saving
    Turn off the display after 1 minute
    Allow the computer to sleep when shaing media

    The computer will sleep or Hibernate when I select from the start menu or set up and push the power button to do.  If the hardware is capable.

    My basic question is this: what are the conditions specifically must exist in order for the computer think it should go to sleep.  There are a number of processes that are still running of course.  There is no way cannot have a time computer the CPU consumption SystemIdleProcess, but is there some criteria that tells the operating system that the computer is idle most of the time?  I use the powercfg.exe tool to determine that ONLY the mouse and keyboard are armed for wake up the system.

    This computer has 4 user accounts, it's a desktop machine, some accounts may be recorded throughout the night and I still want the computer standby or hibernation even if these accounts are registered on.

    What you can do to understand what is happening?

    Leif

    Thank you for using Microsoft Vista answers Forum!

    I suggest that you change the power supply for the multimedia settings options.

    ·         Go to the Start button, Control Panel, click Power Options.

    ·         Choose a power plan different from that you have chosen. If you have high performance, then choose balanced.

    ·         Then click on Change Plan settings. If you get the Windows needs your permission to continue, click on continue. Choose the time you want to put the computer to sleep.

    ·         Then click on change advanced power settings. Under Advanced settings, scroll down to Multimedia settings.

    ·         Expand when sharing media, choose "allow the computer to sleep.

    ·         If this option is grayed out, go to the top of the screen and click on change settings that are currently unavailable.

    ·         This will allow you to choose other options. Click ok to close the dialog boxes.

    If please reply and let us know if your problem is resolved or if you need more help.

    David O
    Microsoft Answers Support Engineer
    Visit our and tell us what you think.

  • Routing between sites that use the site to site VPN

    I'm running 7.2 (1) two 515 who have a VPN site-to-site set up a bit as follows:

    subnets of the main site - router main site - PIX1___Public IP's___PIX2 - remote site

    The main site router: CAT6506 with engine SUP1A

    Subnets listed in motor SUP:

    SUB1 VLAN

    IP address 180.x.1.x.255.254.0

    VLAN SUB2

    IP address 180.x.2.x.255.254.0

    VLAN SUB3

    IP address 180.x.3.x.255.254.0

    VLAN SUB4

    IP address 180.x.4.x.255.255.240

    PIX1 is the subnet SUB4 (180.20.4.2)

    Remote site subnet: 192.168.1.0/24

    Route the engine by default Overtime toward another router that reached the internet via another public IP subnet.

    Any host on SUB4 can reach any host on the remote site as long as the SUB4 host default gateway is the inside int PIX1 (180.20.4.2).

    No matter what SUB4 host that uses the 180.20.4.1 address (router) default gateway cannot communicate with a remote host, but can communicate with any host from any subnet of the main site.

    All remote hosts can communicate with any host on SUB4, regardless of the gateway of the SUB4 host address.

    All remote hosts can communicate with the router on SUB4 main site, but can not reach one of the other interfaces subnet configured on the router.

    I've added a static route on the SUP engine:

    router IP 192.168.1.0 255.255.255.0 180.20.4.2

    That did not help.

    The uses of motor SUP EIGRP to learn other subnets main site reached through routers, so I added the remote subnet to that:

    Router eigrp 10

    redistribute static

    network 180.20.0.0

    network 192.168.1.0

    No Auto-resume

    No log-neighbor-changes to eigrp

    No chance, no more.

    I can't help thinking that I'm missing something very basic.

    Any help is really appreciated

    Hello

    PLS, find the changes that must be made and checked.

    PIX remotely:

    1. you only need a default route and that you can route your subnets via inside as they are outside, so remove these statements

    2.i see Access-group configured to be applied to the external interface for traffic coming from the outside, make sure that all required subnets are allowed.

    3. in the access list for the corresponding traffic to cryptomap, I see that one included subnet, pls have all included traffic that must be encrypted (as sub1, sub2..)

    Main PIX:

    1. in the access list for the corresponding traffic to cryptomap, I see that one included subnet, pls have all included traffic that must be encrypted (as sub1, sub2..)

    2. is there an 'access-group outside_access_in' access list present in the pix the corresponding traffic - check - the pls

    3. by nat (inside) 0 access-list inside_nat0_outbound, include all your inside subnets that must have access to the remote subnet

    L3 switch:

    1.I see a default route pointing to your router 3640, so pls add a static route to your remote subnet pointing to Pix

    IP route 192.168.1.0 255.255.255.0 x.x.22.2

    2. pls check in your L3 switch, wheter the appropriate subnets sub1, sub2 are learned properly via the conifugred Eigrp VLAN respective

    for example .sub2 and sub3 learning with leap following 8.2, sub 5 via 30.3

    Pls try to understand the topology and make configuration changes and let us know the results

    concerning

    k VB

  • A conditional branch Oracle OSB: check if the input message contains a string

    I get an XML message with 4 different message structures. I'm trying to read the message and then apply specific actions according to the type of message. So let's say that I get a 'get' conform to the"Schema" and 'MessageB' meets 'plan B '.

    In my proxy that reads the message, so I added in a conditional branch. In the branch, I select:

    Variable: body

    Selected XPath: fn:contains(.,_'MessageA>')

    The foregoing is not validated. Then I noticed that there may be that one condition of branch so it would not work. As I want to do something like:

    If fn:contains($body,_'MessageA>') then do Action

    if FN: Contains($Body, 'MessageB>') then do Action B

    Then I wanted to confirm if an IF statement inside a stadium is the only way to go or is it possible to make this conditional branching?

    Hi nrayan,.

    You can use fn:boolean to check if the node exists, for example fn:boolean($body/MessageA), it returns true if get is not a $body node, and false if...

    Kind regards

    Rui Lopes

  • Under certain conditions, update a table based on the comparison with a SQL statement

    I have a table (table 1) that has 4 columns:

    UID. THE NEST | VALUE1 | VALUE2

    I have another statement SQL (STMT) that returns the 3 columns of a few other tables:

    UID. THE NEST | VALUE1

    Now this is the condition of the way in which I want to put up-to-date TABLE1:

    First, to compare a pair of UID and PID of STMT with those in TABLE1,

    -1, for any new pair UID and PID not in TABLE1, insert a new line of STMT in TABLE1 set TABLE1. Value2 = 0 (I already did this).

    2, for an existing UID and PID pair in STMT and TABLE1, do:

    a. in TABLE1. Value2 > 0, update TABLE1. VALUE1 = STMT. VALUE1

    b. to TABLE1. Value2 = 0 and if TABLE1. VALUE1! = STMT. Value1, update of TABLE1. VALUE1 = STMT. Value1, otherwise nothing to do.

    I can't seem to come with a solution for condition 2. Any help is appreciated!

    Hello

    Here's one way:

    MERGE INTO  table1  dst
    USING          (
                 SELECT  ...   -- your stmt query goes here
             )   src
    ON         (    src.uid  = dst.uid
             AND      src.pid  = dst.pid
             )
    WHEN MATCHED THEN UPDATE
    SET           dst.value1 = CASE
                                   WHEN   dst.value2 > 0
                        OR     (   dst.value2 = 0
                             AND dst.calue1 != src.value1
                        )
                        THEN   src.value1
                               END
    WHERE   dst.value2 > 0
    OR (    dst.value2 = 0
       AND  dst.calue1 != src.value1
       )
    ;
    

    This assumes that the combination (uid, pid) is unique in stmt. It doesn't have to be unique in table1.

    sb92075 wrote:

    -1, for any new pair UID and PID not in TABLE1, insert a new line of STMT in TABLE1 set TABLE1. Value2 = 0 (I already did this).

    FUSION could also do parts 1 and 2 together, in the same statement.

    2, for an existing UID and PID pair in STMT and TABLE1, do:

    a. in TABLE1. Value2 > 0, update TABLE1. VALUE1 = STMT. VALUE1

    b. to TABLE1. Value2 = 0 and if TABLE1. VALUE1! = STMT. Value1, update of TABLE1. VALUE1 = STMT. Value1, otherwise nothing to do.

    Why are they not simply your needs ' uid and pid that already exist in stmt and table1, if table1.value2 > = 0, then the value table1.value1 = stmt.value1 "? Are you concerned about shooting triggers unnecessarily? It has something to do with null values? The MERGE statement above does exactly what you asked, but, depending on your needs, something simpler and more efficient could do it as well.

    I hope that answers your question.
    If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and also publish outcomes from these data.
    If you ask on a DML statement, such as UPDATE, the sample data will be the content of the or the tables before the DML, and the results will be the State of the or the tables changed when it's all over.
    Explain, using specific examples, how you get these results from these data.
    Always tell what version of Oracle you are using.
    See the FAQ forum {message identifier: = 9360002}

    Published by: Frank Kulash, June 6, 2012 14:51

  • Conditional compilation tags or phrases in the table of contents

    Hi all

    I meet another problem with my conversion, this time with the tags and conditional compilation expressions.
    Everything seems to go well in my subjects, but not in my table of contents.

    Some of my topic titles have words with conditional text applied in the source FrameMaker document.

    These subject titles also appear in the table of contents that are automatically generated when I connect my framework book in Robohelp.

    I put the conditional compilation expression in the Webhelp settings dialog box and then save and build.

    These topic titles appear to pick up the correct conditional compilation expression in the subjects themselves, but the title of the table of contents displays several conditions (including the condition that I set myself to 'Exclude').

    Thus, for example, if the title of my topic is

    "Conventions in this documentonline help."

    WHERE
    -----
    document > should appear in PDF format only
    and
    online help > must only appear in Webhelp

    I can get the Webhelp topic to use the title "Conventions in this online help.

    but the corresponding TOC header looks like this:
    "Conventions in this documentonline help.

    Any ideas?

    Thank you.
    What

    Conditional compilation tags are not imported to the table of contents of the FrameMaker content. However, you can follow another approach to achieve this. We can manage the conditional compilation expression in FrameMaker itself and import the content of filterted in RoboHelp. In order to achieve this, set the conditional compilation expression in FrameMaker. Enable the setting in RoboHelp to 'apply FrameMaker text building conditional Expression '. [File->-> import-> Edit (FrameMaker settings)-> other settings of project settings]

    This way of RoboHelp will import only the content filtered with conditional tags build resolved according to the expression applied in FrameMaker.

    MILIN

  • Conditional statement does not properly on the button

    OK, this is driving me batty...

    I'm almost finished with my style of play "Wheel of Fortune", and this thing keeps me:

    Here's my current little piece of code I have a button given 'letter '...

    on (release) {}
    If (_root. Acheckmark._visible = true) {}
    _root. AScore = _root. AScore + _root. Appointment;
    } ElseIf (_root. Bcheckmark._visible - true) {}
    _root. BScore = _root. BScore + _root. BPoints;
    }
    }

    'Acheckmark' and 'Bcheckmark' are video clips that determine what team is playing currently, based on their visibility.

    "AScore" and "BScore" are variables attached to two text fields that contains the score of each team.

    "Appointment" and "BPoints" are variables that contain the current value that the wheel stopped on after he gave.

    From now on, if I move the check mark on the side A or B, the current points are still awarded to the team has, and the check mark will move to this side. How can I assign the correct points to the correct team? As always, any help will be greatly appreciated.

    Here's what happened after clicking on the button of the letter 'E' (the wheel stopped on 500).

    wof.jpg

    As you can see, the button caused the team A check mark appear and received points for the team.?

    use the double equal (==) to test for equality.  and the combination of your conditional else-if Branch makes no sense.

  • By matching SQL reports in a region so that all the top edges are aligned

    I have 3 parts of SQL report in column 2. I want to display so that their top edges are aligned.

    Approved 40 report conditional Tests (column 2)
    60 unlicensed tests conditional statement (column 2)
    80 approved count by Build report (column 2) conditional

    What actually happens is that the reports are all centered vertically towards the middle of the largest report (above). Here's a raw ASCII picture:

    Tests approved
    Category #.
    Area 1 100
    Area 2 100 * unapproved Tests *.
    Category in box 3 100 # * approved number of construction *.
    Area 4 100 area 1 50 11.0.1 700
    Box 5 100 area 2 50
    Field 6 100
    Area 7 100

    As the report the leftmost is the highest, two other reports eventually centered vertically in the middle of the report to the left.

    Instead, I would like that all the top edges lined up like this:

    Approved tests Trials not approved Number approved by build                           
    # Category 11.0.1 # 700
    Area 1 100 area 1 50
    Area 2 100 area 2 50
    Area 3 100
    Field 4 100
    Field 5 100
    Field 6 100
    Area 7 100

    Nothing I have tried so far has worked. Someone has an idea how to do this? Thank you...

    You could try to wrap areas in the regions of html that essentially give you the ability to specify a valign = top for parts of report.
    Thus, your zones to look like this:

    30 report start - contains source = (div) region

    Approved 40 report conditional Tests (column 2)

    Contains 45 report 2 - Start

    60 unlicensed tests conditional statement (column 2)

    Contains 65 report 3 - Start

    80 approved count by Build report (column 2) conditional

    85 end - report ".(mobster) »

    Replace the rafters of)

    There may be a more elegant solution with models or level of CSS page or something...
    But it should work.

    Published by: Bob37 on Sep 17, 2010 15:33

    Published by: Bob37 on Sep 17, 2010 15:33

  • Conditional pagination for several regions of the

    Apex 3.1.1 16, engine research theme 1,2,3,4 (defined according to the pagination)

    Hello
    I'm working on an application that uses the conditional pagination. We have an item in the selection list where the user can choose to translate how they want to see on one page of lines. If the lines of returned results are lower than what the user selects (it has only one page of results), pagination is hidden so the '1' does not appear. It works fine except if there is a page with more than one area of the report. Is it possible to limit the $('.pagination') to each region? Maybe using the static ID of the region? I'm new to Javascript and Apex, so I don't know how to reference the pagination in a given region or if this is even possible. Thank you.


    Script that is located in the foot of each region:
    <script type="text/javascript">
    
      if ( #TOTAL_ROWS# > &P302_RESULT_ROWS. )
      {
        $('.pagination').show();
      }
      else
      {
        $('.pagination').hide();
      }
    
    </script>
    Lisa

    Not yet jQuery installed, but as much as I realized that I see no reason why what you suggest will not work. #REGION_STATIC_ID # is replaced in the foot of the region, and - at least standard report templates - pagination are descendants of the #REGION_STATIC_ID item #:

    
    
  • Calculation that uses the function Max Analytics

    Hello world

    Hope all is welll...
    I have 2 Calc:

    1) Calc_HippaToSortNumber who does:
    DECODE (hold desc, 'HIPAA', 999, NULL, 0, 500)

    2) Calc_MaxHoldDesc that uses the above calc in analytic function:
    Max (Calc_HippaToSortNumber) MORE (Student.Id PARTITION)

    I have a condition that uses the two Calc for:
    Select the line that corresponds to the max value of Calc by partition

    Calc_HippaToSortNumber = Calc_MaxHoldDesc

    I get the results I want, but I do not understand how works Discoverer:
    Calc 1 - should be the level of the detail line to assign a number based on a field to hold alpha Desc
    If keep Desc = Hippa, 999
    = Null, 0
    other values, 500

    Calc 2 - is an analytic function, so it happens after query calculates its results in detail

    BUT THE condition is testing the analytical function: this condition runs after the execution of the analytical function
    against all preliminary results?
    How does he know Scout to perform the function after execution of the analytical function
    instead of on the level of detail / row?

    The following test data:
    pls advise, tx, sandra

    ID take Fname Lname desc calc_HippatoSortNumber
    ==============================================================
    1 adams alice Certification BLS 500 max (500)
    2 Brown brett HIPAA 999 max (999)
    4 BLS Certification 500 Caroline Chin
    4 Caroline HIPAA 999 (999) max Chin

    I want to show only 3 lines using the analytical function max for the id field studying and comparing each
    the partition to the max value line and by selecting the line with the max value.
    1 adams alice BLS Certification 500
    2 Brown brett HIPAA 999
    4 Caroline HIPAA 999 Chin

    Hello

    How does he know Scout to perform the function after execution of the analytical function

    instead of on the level of detail / row?
    Discoverer always runs the latest analytical functions and therefore conditions by using analytical functions are also processed last. Discoverer for this by using a query online and therefore the structure of the SQLused

    Select Lname, Id, Calc_MaxHoldDesc, Calc_HippaToSortNumber)
    SELECT Id, Lname, DECODE (hold desc, 'HIPAA', 999, NULL, 0, 500)
    Calc_HippaToSortNumber, MAX (DECODE (hold desc, 'HIPAA', 999, NULL, 0, 500))
    ) Calc_MaxHoldDesc OVER (PARTITION BY Student.Id)
    Of...
    )
    WHERE Calc_HippaToSortNumber = Calc_MaxHoldDesc

    Rod West

  • Looking for an example of "function that returns the error text.

    Environment: APEX 3.1.1.00.09 on AIX 5.3

    I'm looking for an example implementation of the posting of the "function that returns the error text.

    I would like to write a database function that does the validation logic and return the text of the error.

    Is it possible to create multiple lines of text of error based on error conditions?

    I'm trying to use it at the end of the input data to go on the set of the 'document' to the entry and highlight all error conditions encountered before the 'document' is subject to additional processing.

    I wrote the function and reference it in a posting as ' validate_stuff (: P3_DOC_SEQ); »

    I have an error message "validate_stuff is not a procedure or is not defined.

    The object is a function, not a procedure. It is defined to return a parameter VARCHAR2 hoped posting if it is not NULL.

    When I run the SQL function * more and spend in a number of documents are returned the correct error messages.

    Any direction is greatly appreciated.

    -gary

    Hi Gary,.

    You must RETURN the result of the function:

    BEGIN
     RETURN validate_stuff(:P3_DOC_SEQ);
    END;
    

    Andy

Maybe you are looking for