ADDT - PHP - Conditional Regions - Help!

Hi there!
One question, how can I filter something coming from a database in PHP using ADDT, maybe using a conditional, for example, I have a table with posted jobs, those jobs belongs to departments, for example
Brokerage - System
Brokerage - Management
Brokerage - Services
Brokerages - Payroll
Carrier - Real Estate
Carrier - Documents
Carrier - Programming
etc.
If you see, the departments are just 2 Brokerage and Carrier but in the database they are called like I described you Brokerage - Something and Carrier - Something.
I want to have 2 HTML tables the table in the left with only posting the Brokerage Positions and the one in the right with the Carrier Positions, I used this on the left one: - hey, don't laugh! -
<?php
// Show IF Conditional region1
if (@$row_rsBJ['Job_Department'] != "Brokerage") {
?>
<?php do { ?>
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td width="27%" class="ShowJobsPostings"><div align="left"><?php echo KT_formatDate($row_rsBJ['Job_Date']); ?></div></td>
<td width="73%" class="ShowJobsPostings"><div align="left"><?php echo $row_rsBJ['Job_Department']; ?><br />
<?php echo $row_rsBJ['CompanyInfo_COName']; ?> <?php echo $row_rsBJ['Job_City']; ?>, <?php echo $row_rsBJ['Job_State']; ?></div></td>
</tr>
</table>
<?php } while ($row_rsBJ = mysql_fetch_assoc($rsBJ)); ?>
<?php }
// endif Conditional region1
but didn't work, I need to filter with something like "Send me only departments that start with brokerage" or something like that, but my programming expertise is minimal, any idea? or suggestion? Of course, this using ADDTB
Thanks so much in advance!
Arturo

Just a politely Bump!

Similar Messages

  • Conditional region - multiple conditions

    Hello,
    I need to display a region only if 1) the page is in Printer Friendly mode AND 2) the value of a page item = 1. I tried using :P100_ITEM = 1 AND :PRINTER_FRIENDLY = 'YES', but that didn't work. Any ideas how to do this? Thanks.
    Lisa

    Hi Varad,
    I'm sure your response is the correct answer, but I can't make it work. I've put an example here: [http://apex.oracle.com/pls/otn/f?p=23292:8]. I'm probably missing one little piece somewhere. I put the different things I've tried (in addition to your suggestion) in the HTML region. The HTML region should be the conditional region. I can only get #1 (no conditions) and #4 v('PRINTER_FRIENDLY') = 'YES' to work. If you have a minute, would you take a look at the page and see if you can tell me what I'm doing wrong. It seems like the value in P8_ITEM is not being recognized. I appreciate your help.
    Lisa

  • Passing variable from php into flash, help please

    Here are what I'm having:
    <?PHP
    $testVal = "This is a test";
    $test = urlencode($testVal);
    $out = "test=". $testVal;
    echo $out;
    ?>
    // and this is my flash file
    function getData() {
    // Prepare request
    var urlReq:URLRequest=new URLRequest("http://localhost/test.php");
    urlReq.method=URLRequestMethod.GET;
    var loader:URLLoader = new URLLoader();
    loader.dataFormat=URLLoaderDataFormat.VARIABLES;
    loader.addEventListener(Event.COMPLETE, completeHandler);
    loader.load(urlReq);
    function completeHandler(evt:Event) {
    var vars:URLVariables = URLVariables(evt.target.data);
    trace(" TEST = ", vars.test);
    trace(" TEST = ", unescape(vars.toString()));
    // and below is the ouput
    TEST = undefined
    TEST = test=This is a test
    I've tried with several different ways to get ONLY the value of the variable - that means I only want to have "This is a test" returned, but I either got "undefined" or the whole thing "test=This is a test", instead.
    I'm new to Flash and PHP. Please help.
    Thanks

    There's no need to write any fake variables out, Flash does not need that. OK, here's a simple PHP script like yours - I called it test.php
    <?PHP
         $testVal = "This is a test";
         $out = "test=". $testVal;
         echo $out;
    ?>
    And the AS to call it:
    var myLoader:URLLoader = new URLLoader();
    myLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
    myLoader.load(new URLRequest("http://www.mydomain.com/test.php"));
    myLoader.addEventListener(Event.COMPLETE, dataLoaded, false, 0, true);
    function dataLoaded(e:Event){  
        trace( e.target.data.test);
    You will see 'This is a test' traced to the output window.
    HTH

  • Modify CSS in region help

    Hi, I am using a region help type following the instructions in APEX Users Guide.
    But the code generated by APEX has 2 issues:
    It hasn't CSS (bgcolor hardcoded):
    <table bgcolor="#CCCCCC" width="100%"><tr><td><b>Region</b>:  Acciones Generals</td>...
    For every region the page helped, it generates a table with the text "Region", and I have the APEX in Spanish but "Region is not spanish".
    <table bgcolor="#CCCCCC" width="100%"><tr><td><b>Region</b>:  Acciones Generals</td> ...
    Which would be the solution for change the CSS and the "Region" text?
    Thanks.

    You owe it to yourself and your employer to learn HTML & CSS fundamentals before you monkey around with the company web site. 
              http://w3schools.com/
    Start by validating your code and fix reported errors.  You have an extra closing </div> that doesn't belong.  Also, ID names are unique identifiers.  They can be used only one time per page. 
              http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.hrserase.com%2Fjobs.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • Numbering of headlines with conditional regions

    Hi
    Its my first post, so i want to apologize if some informations are missing.
    I want to number headlines in MS WORD 2007 for a BI Publisher 11.1.5 report, which has some conditional regions included.
    My problem is that invisible regoins also increment the number.
    e.g.:
    1.1 first headline
    1.2 second headline
    1.3 third headline
    If I make the second headline/region invisible the output is:
    1.1 first headline
    1.3 third headline
    If anyone can give me some advice on how to get the numbering right, it would be greatly appreciated.
    Thanks
    Norbert

    Okay I solved this problem by creating XSL:FO variables and calculatedbefore the table of content.

  • When I click on my gmail to get a wall post from FB I get this message..SERVER NOT FOUND FIREFOX CAN'T FIND SERVER AT permalink.php . PLS help me fix this. Thanks Firefox can't find the server at permalink.php.

    ''''''When I click on my gmail to get a wall post I get this message ...Server not found Firefox can't find the server at permalink.php. PLEASE HELP ME FIX THIS! I just updated to firefox 6.0. THANK YOU

    Try resetting your proxy server. Go to Tools, Options, Advanced, Settings and select one. I must do this every time I restart Firefox -- but at least after that, I'm okay until the next restart.

  • Conditional Region - Advanced Tab Editing

    I'm looking to add XML to a Conditional Region's Advanced tab. i've already filled out the Properties tab with one condition, but want to add another. What is the code context I need to enter? I've searched everywhere with no success.
    Currently my Advanced tab shows:
    <?if:number(CompanyCode_ID)=1?> This results in: Show "Phone Number"
    Example of what I'm trying to do:
    <?if:number(CompanyCode_ID)=1?> AND/+ <?if:number(Rep_ID)<>010?> Need these to result in: Show "Phone Number"

    Look at usage example - http://i50.tinypic.com/17tkpl.png
    Maybe you incorrectly set XPath for your XML tags? Try use
    <xsl:if test="number(//CompanyCode_ID)=1 and number(//Rep_ID)!=010">
    or better set it with absolute paths

  • I just bought a iPhone 4s from someone on-line, everything is working correctly however i cannot connect to any wifi, it says that it is unavailable, i know that it could be the wifi chip damaged but the phone is in almost perfect condition. Help please?

    I just bought a iPhone 4s from someone on-line, everything is working correctly however i cannot connect to any wifi, it says that it is unavailable, i know that it could be the wifi chip damaged but the phone is in almost perfect condition. Help please?

    Help with what?  If the WiFi radio is broken, there's nothing any of us on this forum can do help you.  Either go to Apple and pay for an out of warranty replacement, or find a 3rd party repair shop and get the phone repaired.

  • Modifying a template resulted in all child pages with repeating editable regions - Help !

    Good morning,
    I have recently been appointed to update a website designed in Dreamweaver by an employee who is no longer here. I have read books on the software and practiced an insane amount which permitted me to update child pages, links, documents etc... however:
    I was asked to add a new button to an "non-editable" region of a template. Trying to do so resulted in a massive mess (with massive anxiety).
    Even thou the new template had all the same text and editable regions, all my pages look completely different from the template itself. The editable regions appears 2-3 times in different locations ex: Header is showed on the bottom, top etc... and the Editable region titles (EditableRegion1 etc...) repeat themselves as well.
    I really need help and not sure what to do, I have tried everything and I am only making it worse and worse. All I want/need is for all my html pages created with this template, match the template.
    Please note that this site is local, not online.
    Since I noticed on other threads that the code is needed; here it is:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>QMS: AFM</title>
    <style type="text/css">
    <!--
    body  {
    font: 100% Verdana, Arial, Helvetica, sans-serif;
    background: #666666;
    margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
    padding: 0;
    text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
    color: #000000;
    background-color: #D7D7D7;
    background-repeat: repeat-x;
    border-top-color: #066;
    border-right-color: #066;
    border-bottom-color: #066;
    border-left-color: #066;
    /* Tips for Elastic layouts
    1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
    2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
    3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
    .twoColElsLtHdr #container {
    width: 46em;  /* this width will create a container that will fit in an 800px browser window if text is left at browser default font sizes */
    background: #FFFFFF;
    margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
    border: 30px none #C4C4C4;
    text-align: left; /* this overrides the text-align: center on the body element. */
    padding-left: 10px;
    background-color: #FFF;
    border-top-color: #C4C4C4;
    border-right-color: #C4C4C4;
    border-bottom-color: #C4C4C4;
    border-bottom-style: outset;
    border-left-style: outset;
    border-top-width: thick;
    border-right-style: outset;
    border-top-style: outset;
    border-left-color: #C4C4C4;
    border-right-width: thick;
    border-bottom-width: thick;
    border-left-width: thick;
    .twoColElsLtHdr #header {
    padding: 0 10px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
    background-color: #FFF;
    .twoColElsLtHdr #header h1 {
    margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
    padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
    /* Tips for sidebar1:
    1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly.
    2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width.
    3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".twoColElsLtHdr #sidebar1 p" rule.
    .twoColElsLtHdr #sidebar1 {
    float: left;
    width: 12em; /* the background color will be displayed for the length of the content in the column, but no further */
    padding: 15px 0; /* top and bottom padding create visual space within this div */
    background-color: #066;
    background-repeat: repeat-x;
    border-top-width: thin;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-right-width: thin;
    border-bottom-width: thin;
    border-left-width: thin;
    color: #FFF;
    padding-left: 0px;
    clear: left;
    .twoColElsLtHdr #sidebar1 h3, .twoColElsLtHdr #sidebar1 p {
    margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
    margin-right: 10px;
    background-color: #066;
    text-decoration: inherit;
    /* Tips for mainContent:
    1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs.
    2. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div.  No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
    3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing.
    4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur.
    .twoColElsLtHdr #mainContent {
    margin: 0 1.5em 0 13em; /* the right margin can be given in ems or pixels. It creates the space down the right side of the page. */
    color:#069;
    background-color:#FFF;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    .twoColElsLtHdr #mainContent a:link {
    text-decoration: none;
    color: #069;
    .twoColElsLtHdr #mainContent a:visited {
    text-decoration: none;
    color: #069;
    .twoColElsLtHdr #mainContent a:hover {
    text-decoration: underline;
    color: #069;
    background-color:#FFF
    .twoColElsLtHdr #mainContent a:active {
    text-decoration: none;
    color: #069;
    .twoColElsLtHdr #footer {
    padding: 0 10px;
    line-height: 0pt;
    color: #069;
    background-color: #FFF;
    font-size: 10px;
    .twoColElsLtHdr #footer p {
    margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
    padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    background-color: #FFF;
    /* Miscellaneous classes for reuse */
    .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
    float: right;
    margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page */
    float: left;
    margin-right: 8px;
    .clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
    clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
    h1 {
    color: #069;
    font-size: 16px;
    border-top-color: #069;
    border-top-width: thin;
    border-right-width: thin;
    padding-right: 0px;
    padding-left: 0px;
    body,td,th {
    font-family: verdana;
    text-decoration: none;
    color: #069;
    border-top-color: #069;
    border-right-color: #069;
    border-bottom-color: #069;
    border-left-color: #069;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-width: thin;
    border-right-width: thin;
    border-bottom-width: thin;
    border-left-width: thin;
    a:link {
    text-decoration: none;
    color: #FFF;
    a:visited {
    text-decoration: none;
    color: #FFF;
    a:hover {
    text-decoration: underline;
    color: #FFF;
    background-color: #;
    background-repeat: repeat-x;
    background-position: center;
    border-top-color: #069;
    border-right-color: #069;
    border-bottom-color: #069;
    border-left-color: #069;
    a:active {
    text-decoration: none;
    color: #FFF;
    border-color: #FFF;
    padding-left: 20px;
    -->
    </style><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColElsLtHdr #sidebar1 { padding-top: 30px; }
    .twoColElsLtHdr #mainContent { zoom: 1; padding-top: 15px; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <link href="file:///U|/AFM/Dreamweaver/Left sidebar.css" rel="stylesheet" type="text/css" />
    </head>
    <body link="#006699" class="twoColElsLtHdr">
    <div id="container">
    <div id="header">
        <h1><img src="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Graphics/menubar/pwgsc-e.gif" width="364" height="33" align="left" alt="wordmark" /><img src="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Graphics/menubar/wordmark_canada.gif" width="83" height="21" align="right" alt="wordmark2" /></h1>
        <p> </p>
        <p><img src="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Graphics/menubar/AFM QMS banner.jpg" width="709" height="80" alt="banner" border="0"/><a href="mailto:[email protected]"><img src="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Graphics/menubar/Contactus-e.JPG" width="110" height="21" alt="contactus-e" border="0" /></a><img src="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Graphics/menubar/French-e.JPG" width="115" height="21" alt="french-e" border="0" /> <a href="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Continual Improvement/QMSTeamMembers-e.html"><img src="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Graphics/menubar/Help-e.JPG" width="115" height="21" alt="help-e" border="0" /> <img src="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Graphics/menubar/Search-e.JPG" width="115" height="21" alt="search-e" border="0" /></a><a href="http://source.tpsgc-pwgsc.gc.ca"><img src="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Graphics/menubar/thesource.jpg" width="120" height="21" alt="TheSource" border="0" /> <img src="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/Graphics/menubar/Home-e.jpg" width="104" height="21" alt="home-e" border="0" /></a></p>
        <p> </p>
      </div>
    <div class="twoColElsLtHdr" id="sidebar1">
        <p><a href="../QMS HOME/QMSHome-e.html"><strong>QMS Home</strong></a></p>
        <hr />
        <p><a href="../ABOUTAFM/AboutAFM-e.html"><strong>About AFM</strong></a></p>
    <hr />
    <p><a href="../AdminProcedures/AdminProcedure-e.html"><strong>Administrative Procedures</strong></a></p>
    <hr />
    <p><a href="../BusinessUnits/BusinessUnits-e.html"><strong>Business Units</strong></a></p>
    <hr />
    <p><a href="../POINTSOFINTEREST/pointsofinterest-e.html"><strong>Points Of Interest</strong></a></p>
    <hr />
    <p><a href="../Achievements/Achievements-e.html"><strong>Achievements</strong></a></p>
    <hr />
    <p><strong><a href="../MeasuringPerformance/measuringperformance-e.html">Measuring Performance</a></strong></p>
    <hr />
    <p><a href="../References/references-e.html"><strong>References</strong></a></p>
    <hr />
    <p><a href="file:///P|/RPS/AFMS/Quality Management System/QMS Site/HTML/ContinualImprovement-e.html"><strong>Continual Improvement</strong> </a></p>
    </div>
    <div id="mainContent">
        <h2>Header</h2>
        <p>Paragraph</p>
        <h1>Sub Header </h1>
        <p> </p>
        <h1> </h1>
        <h2> </h2>
        <h1> </h1>
        <p> </p>
        <h2> </h2>
        <!-- end #mainContent -->
      </div>
      <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
           <br class="clearfloat" />
      </p>
      <div id="footer">
        <hr width="100%" size="8" noshade="noshade" color="#006666" id="color=&quot;069&quot;" colour="#069"/>
        <p><strong>Maintainted by: ASQM </strong></p>
        <p><strong>Date Modified: 2013-03-25</strong></p>
        <!-- end #footer -->
      </div>
      <script type="text/javascript">
    <!--
    //-->
    </script>
      </h3>
        <!-- end #container -->
    </h3>
    </div>
    <script type="text/javascript">
    <!--
    //-->
    </script>
    </body>
    </html>

    I am not suprised, the previous employee tried to recreate the English version of the site in another folder structure and did not change all links and was still using a template in the wrong location.
    I think I created the mess by trying to modify the existing template's non-editable region in order to add a new button. When trying to update all the pages, the fiasco started.
    Do you think the best option would be to create a new template in the correct folder structure and apply it? Would it fix the current pages or will I have to fix them all manualy on by one?
    I understand it is difficult to deal with a newbie of my magnitude and thanks again.

  • How to? Suppress Crosstab Total column, based on condition, Please help!

    Hi All,
    Please give an advice on the following:
    My problem I have an item stock and value by depo by region report, with the following structure:
    http://img29.imageshack.us/img29/5289/ctab.jpg
    Row 1 is Items
    Column 1 is region, has six values (value 1->6), but its grouped in specified order like: value 1, value 2, other (all other values as one, with the name of "other")
    Column2 is depo.
    I need to hide the sum next to depo (highlited whit thin red on the pic), but only where column 1 (region)  is "other".
    i tried useing suppress, and conditional highlighting (its acceptable if the column is made blank by useing white as text color)
    if GridRowColumnValue("Region") = "other"
    Region is set for the Column1 grouping as alias in Crosstab expert.
    I usualy get the error: "This is not a name for a grid group for the field being formated."
    or if it's no error in it, it simply stays on the form.
    What am I missing? Is it even possible to do this?
    Thank you, for all of your help in advance.
    Regards,
    Daniel
    Edited by: Daniel Omaisz Takacs on Sep 14, 2010 2:49 PM

    The only way to suppress a "column" is to not pull that data.
    You can turn the column header white as well - highlight with
    if CurrentFieldValue="your value" then white else black
    or
    CurrentFieldValue="your value"   // conditional suppression

  • PHP show region if DB column content = no

    That's all I want to be able to do. If a record in my DB has a column that matches no, then I need to show a region with warning text in it, but I can't work it out.
    Can somebody help me with the code please?
    With asp there was a plug in from a chap called Rob GT and it enable us to say: 'if field A meets this criteria, then show/hide this'. Currently DW only shows/hides a record if the whole recordset is empty. Is there any kind of plugin for php available that would enable this functionality?
    Thank you in advance.
    Mat

    <?php if ($recordset_row['table_field'] == "no") { ?>
    error message
    <?php } else { ?>
    everything is fine
    <?php } ?>

  • Conditional region display

    I am trying to add what I think is a simple condition to a region display with no luck.
    Trying to use the
    Value of item in Expression 1 = Expression 2
    with no luck.
    I have a text item P312_TABLE_NAME with the value SERVER.
    Yet, it does not display when the text item is SERVER
    What am I doing wrong?
    TIA

    Hi TIA,
    I had same issue and it was taking time. I tried your resolution. It worked pretty good. Thanks for posting your resolution to help others.
    Raj

  • Conditional Region Title

    APEX 3.0, RDBMS 9.2.0.4
    I have a report in one of my regions on a page.
    I see from the forum there is a way to edit the report template and remove the region title for the report.
    Is there a way to make the title conditonal? That is to display only when the report has actual data in it?
    Thanks in advance,
    Barry

    First, it worked, and I thank you.
    Not that I am complaining BUT ...
    why doesn't the condition evaluate the region source query (below) and determine whether one row was returned.
    select e.ename, e.empno, e.sal, d.deptno
    from emp e, dept d
    where e.deptno = d.deptno
    and e.ename = :p1_ename
    To be honest, I tried the EXISTS attribute in region condtion, but did not add the select statement you sugggested in Expression 1. My approach was not working and I figured I had it all wrong.
    So, as instructed by your response, I set the condtion to EXISTS and added the folowing query in Expression 1 and it will conditionally display the region:
    select 1 from emp e where e.ename = :p1_ename
    Whyt does APEX make you put in two queries: one for the region source and one to evaluate whether the region should be conditional displayed?
    I am sure there is a good reason and I am just curious.
    Thanks again for your help.
    Barry

  • PHP registration page help!!

    Hi, I am in the process of redesigning my union's website to
    include a member area. Here's my problem...
    I already have a database for our union members. What I want
    to do is to be able to have register using data that I already have
    for them in a table: Last Name, First Name, Date of Birth, Last 4
    digits of SSN. There will also be fields for user name and password
    (which will originally be blank in the table). When the user hits
    the submit button, the form data needs to compare those first 4
    submitted fields to the corresponding ones in the existing table
    (much the same way a credit card company might do with an existing
    account). If the data submitted matches what's in the table, the
    user name and password submitted in the form are written to the
    table and the user should be redirected to a login page.
    How should i go about building such a registration page??
    Help!!! ???
    Thanks,
    rborc415

    rborc415 wrote:
    > I've been knocking around with what you suggested and
    I'm kind of flying blind
    > at this point... could I ask you to be a little more
    specific?
    Basically, what you are doing is creating a search page. If
    the search
    produces a result, you want to display an update form. You
    can either do
    it all in one page, and control what it displayed with
    conditional
    logic, or you can use session variables pass the information
    from one
    page to the next.
    The basic way to do it with separate pages is to create a
    search form in
    page 1. Get the user to enter the four items. Send the form
    using the
    GET method to page 2.
    In page 2, create a recordset to search for the record, using
    the $_GET
    variables. If the recordset is empty, display a message
    saying "record
    not found". If the recordset is not empty, display the
    results in an
    update form, using readonly fields for the already-registered
    values.
    Use ordinary text fields for the items you want the user to
    fill in.
    Apply an Update Record server behavior.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Problem with editing Editable Region - HELP!

    My website is www.yucholian.com
    I have created a template and have assigned a main body to be
    an Editable Region. However, I can't seem to use different fonts,
    sizes or styles as I wish. If I go to Text drop down, go to size,
    all options are greyed out. Can anyone help?
    BTW, I'm using 30 day trial.
    I find Dreamweaver to be very finicky. Even something simple
    as applying a template that I created, view doesn't update, showing
    doubles...
    Thanks in advance.

    > I find Dreamweaver to be very finicky. Even something
    simple as applying
    > a
    > template that I created, view doesn't update, showing
    doubles...
    The more you know about HTML, the less you will run into such
    things - but I
    have to say, I have no idea what you are describing here. It
    sounds to me
    like user error, but I can't say for sure.
    > However, I can't seem to use different fonts, sizes or
    styles as I
    > wish.
    Show me your template, tell me what you are trying to change,
    and I'll
    explain to you what is happening.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "yucholian" <[email protected]> wrote in
    message
    news:edk7lr$73m$[email protected]..
    > My website is www.yucholian.com
    > I have created a template and have assigned a main body
    to be an Editable
    > Region. However, I can't seem to use different fonts,
    sizes or styles as
    > I
    > wish. If I go to Text drop down, go to size, all options
    are greyed out.
    > Can
    > anyone help?
    > BTW, I'm using 30 day trial.
    > I find Dreamweaver to be very finicky. Even something
    simple as applying
    > a
    > template that I created, view doesn't update, showing
    doubles...
    >
    > Thanks in advance.
    >

Maybe you are looking for

  • Can any one please send me sample programs using java mapping..

    <b>Can any one please send me sample programs using java mapping with input and output?</b> please let me know how to get started with java mapping? Prerequisites for java mapping ? What are the jars need to be deployed for SAX,DOM.  And how to do it

  • How to deal with matrices in ABAP

    Dear Experts, I need to know how to can i perform basic matrix operations in ABAP. Kindly requesting to provide related samples or threads to it. Thanks & Regards, Swati

  • Problems opening PDF files from Websites

    I just had the contents of my (dying) ibook transferred onto my emac. The tech created a new user/desktop on the emac. Now, when I try to open PDF files from a website, I get a window saying this: "Downloading - users/myname/desktop/xxxxx.pdf could n

  • SVN configuration file

    Hello, I am using Data Modeler in combination with SVN. I want to modify the SVN config file which Data Modeler uses for client settings. This file is situated in : <Data modeler settings directory>\system3.3.0.744\o.jdeveloper.subversion.11.1.1.4.37

  • Iam not getting loacal server home page in brosers.

    hellow sir, iam sridhar.I have some technical problem.I started Bea Weblogic version 8.0,Apache Tomcat version 5.0 success fully.But when iam giving url like"http://localhost:8080/manager/html" for tomcat, and url like "http://localhost:7001/console"