Help with if/else in the display of the data - (possibly foreach)

Hi all

I tried to put something in place, and I'm having difficulty to operate.

84-111 lines became my biggest challenge.  I have an if/else statement implemented so that if a record has a picture on the local host that the image is pulled up.  The way I have it now, it works fine.

If I swap lines 93-96 with 102-105 and a 90 just tweek line, I can get it to work if the image is on an alias and not localhost.

The problem is that if I pretend it's now, I can't both work at the same time.  So I try to get the if/else statement to apply to each record that is pulled to the top.  It seems that what he does now is to choose what part of the if/else statement it should use for the first record and then that applies for all records.

Is it possible to have coded it as if it was now for the if/else statement (because I want to be able to add multiple alias and just check to see if the image is on the localhost or not); but the image doesn't matter if the image is located on the local host or alias?

Here's what I have so far:

<?php
$search = $_GET['series'];
$query_begin=" SELECT * FROM movies WHERE movie_name_series = '$search' ";
$search_begin = mysql_query($query_begin) or die(mysql_error());
$row_begin = mysql_fetch_assoc($search_begin);
if($row_begin == 0){
?>
<script type="text/javascript"><!--
setTimeout('Redirect()',0000);
function Redirect()
{
  location.href = 'index.php?content=noresult';
}
// --></script>
<?php
 } 
else 
{ 
                $query_display = "SELECT * from series WHERE series_id = '$search'";
       $result_display = mysql_query($query_display);
       $row_display = mysql_fetch_array($result_display, MYSQL_ASSOC);
       
          $series_id = $row_diaplay['series_id'];
          $series_name = $row_display['series_name'];
    
    ?>
<h2>All Movies in our Library categorized in the series <?php echo $series_name ?></h2>
<br />
<div style="float: left; width: auto">
    Click on the name of the movie to edit the movie.
</div>
     <br />
        <hr size="1" noshade="noshade" />
  <br />
<?php 
$query="SELECT * FROM movies
  INNER JOIN family_rating ON movies.movie_star_rating=family_rating.star_id 
  INNER JOIN alias ON movies.alias=alias.alias_id
  INNER JOIN parent_alert ON movies.parent_alert=parent_alert.alert_id
  INNER JOIN rating ON movies.movie_rating=rating.rating_id
  WHERE movies.movie_name_series='$search'
  ORDER BY movies.movie_name ASC";
$result= mysql_query($query)or die (mysql_error());
while($row=mysql_fetch_array($result)){
// Display the data 
?>
    <table width="200" style="margin: 20px">
    <tr align="center">
  <td valign="top">
   <h1 style="font-size: 12px"><?php echo $row['movie_name']; ?></h1>
        </td>
    </tr>
    <tr align="center">
  <td valign="top" style="width: 100%; border-bottom: ridge #FFF; border-left: ridge #FFF; background: url(assets/images/transback.png) repeat; padding: 10px">
   <a class="ToolText" onMouseOver="javascript:this.className='ToolTextHover'" onMouseOut="javascript:this.className='ToolText'">
   <style media="screen" type="text/css">
          
          #coverart {
            display: block;
            width: 110px;
            height: 150px;
          }
          #coverart:hover { 
            background: url("assets/icons/play_movie.png") no-repeat 0 0;
          background-size: 110px;
          }
         </style>
         
        <p>
         <form action="index.php?content=play_movie" method="post">
            <input type="hidden" value="<?php echo $row['movie_id']; ?>" name="movie" />
         <input type="hidden" value="<?php echo $row['warning'] ?>" name="warning" />
            
                                    <?php 
          if ($row['alias_name']='localhost') {
         ?>
                                    
                                    <input onmouseover='this.src="assets/icons/play_movie.png"' 
                                     onmouseout='this.src="movies/coverart/<?php echo $row['art']; ?>"'
                                    type="image" src="movies/coverart/<?php echo $row['art']; ?>" 
                                    style="border: none" height="150" width="110" />
                                    <?php
          }else{
           ?>
                                    
                                    <input onmouseover='this.src="assets/icons/play_movie.png"' 
                                     onmouseout='this.src="http://<?php echo $row['ip_address']; ?>/<?php echo $row['alias_name']; ?>/coverart/<?php echo $row['art']; ?>"'
         type="image" src="http://<?php echo $row['ip_address']; ?>/<?php echo $row['alias_name']; ?>/coverart/<?php echo $row['art']; ?>" 
                                    style="border: none" height="150" width="110" />
                                    
                                    <?php
          }
          ?>
                                   
            </form>
                                    </p>
                 
                                <span><h2 align="center"><?php echo $row['movie_name']; ?></h2>
        <?php echo $row['rating_name']; ?>
                                <h4><?php echo $row['description']; ?></h4>
                                
        
        <?php
         if($row['parent_alert']='1') {
          ?>
        <p align"center"><img src="assets/icons/<?php echo $row['alert_file_name']; ?>"></p></span>
                                <?php
         } else {
         }
         ?>
            </a>
            <img src="assets/icons/s_<?php echo $row['star_file_name']; ?>" />
        </td>
 </tr>
    </table>
<?
}
}
?>

I looked through a number of tutorials and it is appropriate to use a loop for each.  However, I can't get this to work.  Is there anything I can do to make it work the way I'm trying to?  There is a problem with my if/else or do I need one for each?  If I need one for each, how can I do this?

Thank you.

9thReg wrote:

I have a page that pulls in some records in a database, where I've got year if / else statement in the section where it shows the data.

                                    

Thank you. It is much clearer, and he made the mistake of stand out immediately. You'll kick yourself when you realize what it is.

Your condition in the condition clause is assigning the value "localhost" in $row ['alias_name'] instead of comparing the two values. You must use two equal signs to:


I haven't checked the rest of your code, but the condition of fixing should solve the main problem.

Tags: Dreamweaver

Similar Questions

  • Help with a script for the date field

    Is this possible when the display of a date field is not also: date {EEEE, MMMM D, YYYY}

    then

    Message: "Please select a date from the calendar to the date.

    and focus on the date field

    Thank you

    I thought the event output, if you change the this.rawValue to xfa.event.change, you can try to use the calculate... event, which would mean that they get the message earlier.

    Anyway they will always be able to cut-and - paste a date if it is in the correct format.

    Bruce

  • Synchronization between two databases with only 2% of the data; Please help me

    Hi all

    I have two oracle databases in 2 different servers PROD and TEST instances. the two databases are in gr 10 2 in linux servers.

    My PROD database contains about 300 GB of data and is dedicated for production area.
    My Test database is dedicated to Spanish test for PROD database. (small server in terms of space and RAM comparing to PROD db)
    I would like to synchronize every week TEST db with PROD db with only 2% of the data and all the structures
    Could someone tell me, if you use a datapump export I can import only 2% of the amount of data and the structures ot theere is another way to do it?
    Thank you very much

    best regards,
    W

    I'm not really sure what you're talking about. There is no option, expdp and impdp x % of the data, is that? And if Oracle can sovle repositories inetegrity (PK, FK), it cannot be assumed which tables are lookup table (to be entirely exported) and can not assume the logical data integrity.

    Nicolas.

  • With the help of case condition for the date of distinct values is does not

    Hello PL/SQL gurus and experts.

    I use Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64-bit Production version
    I followed two tables

    TT3-
    create table TT3(FeesCntlr,CommCntlr,LatePayCntlr,Name,Age) as select
    1,11,21,'Mike',25 from dual union all select
    2,12,22,'Clark',26 from dual union all select
    4,17,27,'Ussan',28 from dual union all select
    5,13,21,'Linda',29 from dual union all select
    6,14,24,'Obrek',35 from dual union all select
    7,15,25,'Batty',45 from dual union all select
    8,16,26,'Nicky',38 from dual;
    TT4
    drop table TT4;
    create table TT4(TRNID,BlockID,FeesCntlr,CommCntlr,LatePayCntlr,BookDate) as select
    221,625,1,11,21,20121101 from dual union all select
    223,625,2,12,22,20121101 from dual union all select
    224,625,1,11,21,20121101 from dual union all select
    225,627,4,17,27,20111001 from dual union all select
    226,628,5,13,21,20120701 from dual union all select
    227,628,6,14,24,20120701 from dual union all select
    334,628,7,15,25,20120701 from dual union all select
    339,629,8,16,26,20120701 from dual union all select
    393,629,1,11,21,20120701 from dual union all select
    432,629,2,12,22,20120701 from dual union all select
    347,629,1,11,21,20120701 from dual union all select
    556,629,4,17,27,20120701 from dual union all select
    558,629,5,13,21,20120701 from dual union all select
    974,629,6,14,24,20120701 from dual union all select
    976,629,7,15,25,20120701 from dual union all select
    980,629,8,16,26,20120701 from dual union all select
    1223,650,2,12,22,20110415 from dual union all select
    1224,650,1,11,21,20110415 from dual union all select
    1225,650,4,17,27,20110415 from dual union all select
    1226,650,5,13,21,20110415 from dual union all select
    1227,650,6,14,24,20110415 from dual union all select
    1334,650,7,15,25,20110415 from dual union all select
    1339,710,8,16,26,20120115 from dual union all select
    1393,710,1,11,21,20120115 from dual union all select
    1432,710,2,12,22,20120115 from dual union all select
    1347,710,1,11,21,20120115 from dual union all select
    1556,710,4,17,27,20120115 from dual union all select
    1558,711,5,13,21,20111231 from dual union all select
    1974,711,6,14,24,20111231 from dual union all select
    1976,711,7,15,25,20111231 from dual ;
    Now, if I use the following DML for the year 2012, then the result is as follows-
    SQL> select t3.Name,t3.age,count(t4.TRNID),count(distinct(BlockID)) from
      2  tt3 t3,tt4 t4
      3  WHERE     t3.feescntlr = t4.feescntlr
      4           AND t3.commcntlr = t4.commcntlr
      5           AND t3.latepaycntlr = t4.latepaycntlr
      6    AND t4.bookdate between 20120101 and 20121120
      7  GROUP BY t3.name, t3.age;
    
    NAME         AGE COUNT(T4.TRNID) COUNT(DISTINCT(BLOCKID))
    ----- ---------- --------------- ------------------------
    Mike          25              12                        3
    Mike          27              12                        3
    Batty         45               4                        2
    Clark         26               6                        3
    Linda         29               4                        2
    Nicky         38               6                        2
    Obrek         35               4                        2
    Ussan         28               4                        2
    
    8 rows selected.
    Now, if I use the following DML for 2011, then the result is as follows-
    SQL> select t3.Name,t3.age,count(t4.TRNID),count(distinct(BlockID)) from
      2  tt3 t3,tt4 t4
      3  WHERE     t3.feescntlr = t4.feescntlr
      4           AND t3.commcntlr = t4.commcntlr
      5           AND t3.latepaycntlr = t4.latepaycntlr
      6    AND t4.bookdate between 20110101 and 20111120
      7  GROUP BY t3.name, t3.age;
    
    NAME         AGE COUNT(T4.TRNID) COUNT(DISTINCT(BLOCKID))
    ----- ---------- --------------- ------------------------
    Mike          25               2                        1
    Mike          27               2                        1
    Batty         45               2                        1
    Clark         26               2                        1
    Linda         29               2                        1
    Obrek         35               2                        1
    Ussan         28               4                        2
    
    7 rows selected.
    But by using the condition if I use the following dml and results do not match-
    SQL> select Name,Age,sum(Trn),sum(CurYrOrdr) "2011 Order", sum(LastYrOrdr) "2012 Order"
      2  from
      3  (
      4  select t3.Name,t3.age,count(t4.TRNID) Trn,(case when t4.bookdate between 20110101 and 20111231 
    then count (distinct(BlockID)) else 0 end) CurYrOrdr,
      5  (case when t4.bookdate between 20120101 and 20121120 then count (distinct(BlockID)) else 0 end)
     LastYrOrdr
      6   from
      7  tt3 t3,tt4 t4
      8  WHERE     t3.feescntlr = t4.feescntlr
      9           AND t3.commcntlr = t4.commcntlr
     10           AND t3.latepaycntlr = t4.latepaycntlr
     11    AND t4.bookdate between 20110101 and 20121120
     12  GROUP BY t3.name, t3.age,t4.bookdate
     13  )
     14  group by Name,Age order by Name,Age;
    
    NAME         AGE   SUM(TRN) 2011 Order 2012 Order
    ----- ---------- ---------- ---------- ----------
    Batty         45          8          2          2
    Clark         26          8          1          3
    Linda         29          8          2          2
    Mike          25         14          1          3
    Mike          27         14          1          3
    Nicky         38          6          0          2
    Obrek         35          8          2          2
    Ussan         28          8          2          2
    
    8 rows selected.
    As the expected output, that I expect - is
    ----------------------------------
    
    Expected Output -
    NAME         AGE      "2012 TRNID"       "2011 TRNID"     "2012 ORDERID"     "2011 ORDERID"
    ----- ---------- --------------- ----------------------------- ---------- ------------
    Mike          25        12          2               3          1
    Mike          27        12              2          3          1
    Batty         45        4               2              2          1
    Clark         26        6               2              3          1
    Linda         29        4               2              2          1
    Nicky         38        6               2              2          1
    Obrek         35        4               2              2          1
    Ussan         28        4               4              2          2
    I sincerely thank each of you in advance for the input/comments that I fight with it for some time now.
    Kindly help.

    user555994 wrote:
    Hi JAC
    Thanks for the comments and certainly once I comment out the following line.
    - AND t4.bookdate between 20110101 and 20111120

    then the values are adapting, but at the same time why do we need to comment the date range condition as case is just a filter and not the condition.

    filter should be-

    AND t4.bookdate between 20110101 and 20121120 --"made it 12"
    
  • Please help with conditional actions showing the PlayBar

    I tried to set up a tip action that will not allow users to move forward until they have clicked on the 3 themes I want to see again them.  I assigned variables, follow the tutorials and do everything now.  Please help how I my Advanced actions set upwards... everything shows and hides all work so I have to assume that the assignment of variable works as well.  I used numbers initially and changed my value of the variable of "dude" just to make sure I was not missing something.

    Capture.PNGCapture2.PNGcapture3.PNG

    Here's the aciton condtional which is performed after the entry of the slide

    Capture4.PNG

    All logic seems in tact for me however I click on each of my boxes and all conditions must be true, but will not display game bar...

    Note: I also tried to show a next button and just show the things randomly with the same logic and it just will not work... What am I doing wrong?

    Something escapes me in your question: How do trigger you the conditional action? I suspect that he is never executed, but may be wrong of course.

    I created a small example to check: slide contains 3 buttons that trigger an action condtional with two decisions. The first decision is a simulated standard measure (condition 1 = 1 is always correct) assigns the value 1 to the variable corresponding user and displays a caption text, that was initially hidden. This is a screenshot of this first decision Stand for the first Bt_One action to be triggered by the first button:

    The second decision Check is the action of condtional real, very similar to yours. This will be done after the first decision:

    Create a duplicate of this action for the other two buttons, you only have to edit the first decision where the user variable needs to be changed.

    In my example, when you click the last button (regardless of the sequence) all the text captions should have been disclosed (I na not hide others, but you can do the same of course) and the second decision check will result in a positive response, so the playback bar appears immediately.

    Lilybiri

  • 10-2101 U.S. Tablet HP: Need help with firmware mix to the top

    Little problem with the tablet in place lately and accidentally erased the firmware. My best look up and somehow able to reinstall one from here. But the thing is now the entire Tablet is in Chinese, because it seems I could have installed the wrong one... ghoulish pls help me fix it? Appreciate the help if ever...

    Hi@Robin Wendigo,

    Thank you for the HP's Support Forums. Best platform for all kinds of solutions, tips and settings for your questions/problems.

    For the best experience on HP forum, see our Guide to HP Forums to learn more.

    Problems of language on the tablet settings. Is this fair?

    I want to help you.

    Follow the steps from the link below and check if that helps.

    http://HP.care/2dyWVI3

    I hope this helps. Let me know to learn more

    Happy announcement.

    Resolv_S

    Happy to help you. I work for HP

    Please click on " ""Accept as Solution " " " if you feel my post solved your problem, it will help others find the solution.
    Click on the " Bravo Thumbs Up" " " to say 'Thank you' to help! "

  • help with blue screen of the 0x1000007e

    Hi, can I get help with freezes my computer?

    View blue screen information:

    ==================================================
    Dump file: 121015-27421 - 01.dmp
    Crash time: 10/12/2015-20:41:47
    Bug Check String: SYSTEM_THREAD_EXCEPTION_NOT_HANDLED
    Bug check code: 0x1000007e
    Parameter 1: ffffffff "c0000005
    Parameter 2: fffff880'0463f0d2
    Parameter 3: fffff880'03b378d8
    Parameter 4: fffff880'03 b 37110
    Caused by the driver: rtbth.sys
    Caused by the address: rtbth.sys + 2185c
    Description of the file: Ralink Bluetooth adapter
    Product name: Ralink Bluetooth adapter
    Company: Ralink Technology, Corp..
    File version: 2.9.22.0 built by: WinDDK
    CPU: x 64
    Plant address: rtbth.sys + 130d2
    Stack address 1:
    The stack address 2:
    Address 3 the battery:
    Computer name:
    Full path: C:\Windows\Minidump\121015-27421-01.dmp
    Number of processors: 4
    Main version: 15
    Minor Version: 9200
    Empty the file size: 284.744
    Dump of file time: 10/12/2015-20:42:49
    ==================================================

    ==================================================
    Dump file: 120815-32078 - 01.dmp
    Crash time: 08/12/2015-11:38:26
    Bug Check String: SYSTEM_THREAD_EXCEPTION_NOT_HANDLED
    Bug check code: 0x1000007e
    Parameter 1: ffffffff "c0000005
    Parameter 2: fffff880'058d40d2
    Parameter 3: fffff880'033dd8d8
    Parameter 4: fffff880'033dd110
    Caused by the driver: rtbth.sys
    Caused by the address: rtbth.sys + 2185c
    Description of the file: Ralink Bluetooth adapter
    Product name: Ralink Bluetooth adapter
    Company: Ralink Technology, Corp..
    File version: 2.9.22.0 built by: WinDDK
    CPU: x 64
    Plant address: rtbth.sys + 130d2
    Stack address 1:
    The stack address 2:
    Address 3 the battery:
    Computer name:
    Full path: C:\Windows\Minidump\120815-32078-01.dmp
    Number of processors: 4
    Main version: 15
    Minor Version: 9200
    Size of the dump file: 284.800
    Dump of file time: 12/08/2015-11:39:44
    ==================================================

    ==================================================
    Dump file: 120515-23000 - 01.dmp
    Crash time: 12/05/2015 14:11:48
    Bug Check String: SYSTEM_THREAD_EXCEPTION_NOT_HANDLED
    Bug check code: 0x1000007e
    Parameter 1: ffffffff "c0000005
    Parameter 2: fffff880'058c00d2
    Parameter 3: fffff880'0609a8d8
    Parameter 4: fffff880'0609 has 110
    Caused by the driver: rtbth.sys
    Caused by the address: rtbth.sys + 2185c
    Description of the file: Ralink Bluetooth adapter
    Product name: Ralink Bluetooth adapter
    Company: Ralink Technology, Corp..
    File version: 2.9.22.0 built by: WinDDK
    CPU: x 64
    Plant address: rtbth.sys + 130d2
    Stack address 1:
    The stack address 2:
    Address 3 the battery:
    Computer name:
    Full path: C:\Windows\Minidump\120515-23000-01.dmp
    Number of processors: 4
    Main version: 15
    Minor Version: 9200
    Size of the dump file: 284.800
    Dump of file time: 12/05/2015 14:13:26
    ==================================================

    ==================================================
    Dump file: 120315-46625 - 01.dmp
    Crash time: 12/03/2015-21:46:50
    Bug Check String: PAGE_FAULT_IN_NONPAGED_AREA
    Bug check Code: 0 x 00000050
    Parameter 1: fffffa80'0f7e35b8
    Parameter 2: 00000000'00000000
    Parameter 3: fffff880'010985da
    Parameter 4: 00000000'00000000
    Caused by the driver: mpsdrv.sys
    Caused by the address: mpsdrv.sys + 88215 b 8
    Description of the file: Protection of Microsoft Service pilot
    Product name: Microsoft® Windows® Operating System
    Company: Microsoft Corporation
    File version: 6.2.9200.16753 (win8_gdr.131030 - 1505)
    CPU: x 64
    Plant address: ntoskrnl.exe + 5 has 540
    Stack address 1:
    The stack address 2:
    Address 3 the battery:
    Computer name:
    Full path: C:\Windows\Minidump\120315-46625-01.dmp
    Number of processors: 4
    Main version: 15
    Minor Version: 9200
    Size of the dump file: 284.800
    Dump of file time: 12/03/2015-21:48:50
    ==================================================

    Ntoskrnl.exe and rtbth.sys have been mentioned in the 3 last crashesmpsdrv.sys only in the first

    News of the event viewer:

    I saved a lot of event that happened in 08.12 accidents and 10.12, marked with red circles with white cross

    and some other events around them

    pastebin.com/xwU9pVf4

    (its in Spanish)

    I have not installed manually a new hardware or driver, the last accident occurred when I took the computer to sleep in airplane mode

    This phenomenon was related to adapter Bluetooth Ralink from Ralink Technology, Corp. rtbth.sys.

    Remove the driver current completely and install the latest driver available.  For instructions on how to do read everything to update the drivers of my partner JMH3143 http://answers.microsoft.com/en-us/windows/wiki/windows_other-hardware/updating-a-driver/a5e6345e-af9b-4099-bef0-8d22254aa1c1?tm=1436753520149 here
  • Hello, I need help with my photoshop, rececently the majority of my family disappeared merger options and I cant access AVC and other options ive tried reset preferences and it seems to come back but when I add an image and try add text again

    Hello, I need help with my photoshop, the majority of my family rececently disappeared options fusion and I can't access strokes and other options ive tried to reset the settings of preference and he seems to come back but when I add an image and you try to add text again, they'll only options I have are drop shadow , gradient, Chromakey, shine of satin overlay, inner (I use photoshop cc 2015) Please help, my Skype contact options are: RoblivionM8 and email:[email protected]

    Thanks for your time

    Your first screenshot shows the layer style dialog where not all types of effects are indicated on the left. Bottom left of the dialog box, you see a small icon fx with a menu arrow drop-down. Use drop down the menu and make sure all you click on show all effects or restore the default list. I don't know what you're trying the shoe on the second screen capture.

  • Help with selection lists in the classic report

    Hello

    I work with APEX 4.1. Oracle 11.

    I have a simple and classic report with 4 columns (username, role, reading, updating). The columns of the reading and the update are select list with values of 'Yes', 'no '.

    Report looks like this:

    User role name read the update
    JSmith Admin Yes Yes
    LJones Dev yes no


    My requirement is that when the user selects Yes the update select list, the value of the associated column in the reading should change Yes as well for this particular user name. Change must occur after Yes is selected in the list select update.

    Im not very strong with javascript, but for testing purposes I applied: onchange = "alert ('hi'); "in the update column. When I make a change to the update select list, the alert returns to its position.

    Can anyone suggest how I can implement the change to the value of associated reading of Yes if the selected update value is Yes, for this particular line.

    Thank you
    Laura

    Here is an example of work for you, copy and change the javascript that you need.

    To find names of columns to the select list of apex > address view the source of your page report and use them accordingly in the JS

    http://Apex.Oracle.com/pls/Apex/f?p=46417:11

    Test/test connection

    function test(pThis) {
     //get the curren row index on change
     var currIndex = $('select[name="'+pThis.name+'"]').index($x(pThis.id));
     // check current items value (return value of lov)
     if (pThis.value=='Yes') {
      // if true change the value of column f01 at same row index
      $('select[name="f01"]')[currIndex].value = 'Yes';
     }
     else {
       //do something else
      }
    }
    
    //In the element attributes of update column add
    onchange="javascript:test(this);"
    
  • Help with dynamic action and the selection list item

    G ' Day Apex gurus.

    I have problems trying to achieve to trigger the Help window from an element automatically select. A Help window is triggered when it is clicked on the label of an item, but my customer wants to be triguered automatically as soon as the user clicks to view the options in the select list.

    I think I should be able to do with dynamic actions but I can't function.

    I know when someone clicks on the label of the item selection list trigger this JavaScript

    JavaScript:popupFieldHelp('277938589795252851','1545903379570909')

    So I want to trigger the javascript also when the user click on the item selection list and pull down the options and for that I think that the dynamic action is the way to go, but I can't do things.

    That's what I have to do:

    I created a dynamic option as follows:

    Name: test
    Sequence: 30
    Even: click
    Selection type: product (s)
    Article (s): P1_RATING <-a selection list item
    Condtion: - no requirement.

    Real Actions
    Sequence: 10
    Action: Run the JavaScript Code
    Fires when the result of the event is: true
    Fire on loading the page: checked
    Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')

    Thank you anyone who can tell me what I'm doing wrong here or bring a solution to my problem to trigger the Help window from an element automatically select.

    Kind regards
    Carlos

    Hi Carlos,

    I've set up a test case of exactly in the same way and it worked fine for me. I've created a page element called P1_DA_DEMO and added some values of the static selection list, then added a help text. I used the settings are lower, I suggest you try again, but also make sure that you have no other Javascript errors on the page. Use a tool like firebug to check.

    Name: Action Dynamics demo
    Sequence: 10
    Even: click
    Selection type: product (s)
    Product (s): P1_DA_DEMO<- a="" selection="" list="">
    Condtion: - no requirement.

    Real Actions
    Sequence: 10
    Action: Run the JavaScript Code
    Fires when the result of the event is: true
    Fire on loading the page: unchecked
    Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')

    Scope of the event set a Bind s.

    Thank you

    Paul

  • How to get help with conversion ROCK on the export of PDF?

    How can I get help with the quality of the PDF documents converted to word format export.

    Not likely to have, you're doing a "happy dance" but a scanned image is "the ear of the sow" and (Yes, I'll say).

    You can't have a scholarship of silk in one ear of the sow.

    Make you a picture of the text content. You get a result of OCR of all that is recognized. The character by character recognition accuracy is generally quite good. But - No image/photo file actually holds information on format, layout, fonts, etc. - it's just a picture. Acrobat OCR makes some assumptions about all this.

    -You have a bunch of each of the characters being exported to Word. Individual characters, not paragraphs, sentences no, no words, no values "white space", etc.

    So you get an export that is a "best estimate" of the less desirable source. Sometimes, it isn't so bad. Sometimes it's just awful. In all cases, you will need to do some cleanup of the exported content that landed in the Word file.

    The alternative is to transcribe the hardcopy to the Word file.
    In fact it can often be higher as a workflow rather than the scanning-ocr-export-cleanup shuffle

    .

    For really nice export "spot - we ', you must start with a PDF file from an application of creation (not a scanned image) which is a well-formed tag PDF (for example ISO 14289-1, PDF/UA-1).
    The purpose of the tagged PDF document is not only Accessible PDF is also how PDF supports actively the re-use of content (for example, export).

    Be well...

  • No support for pse4, don't need help with aid and all the rest. What is a layer? How can I get help PDF from CD? I don't have any idea how to use it. I have a Macbook pro.

    Need help with using pse4 not taken in charge by adobe. How subjects do not available and I have never used something like that. Aide said there is a download but have not been able to do. What is a rookie to do? Y at - it somewhere that I can go to learn how to use PSE4?

    To find out how your problem:

    http://kb2.Adobe.com/CPS/402/kb402107.html

    To get help from the CD files you double-click in the finder, go to PDF help and drag it to the desktop or elsewhere.

  • Need help with query to sort the Digital Alpha channels.

    Hello
    I have data like A2-1 A2-2 A2-3 A2-4 A4-S 10 - A2 A2-22 A5 - 15 16 A5 A5-1 has A5-1 b
    I want the data in a sequence sorted as A2-1 A2-2 A2 - 3 4 - A2 A2 10 A2-22 S A4 A5-1 has A5-1B A5-15 A5-16

    How to get there. Help, please.

    Perhaps that would help you

    with data as
        (
           select 'A2-1' LOCATION_DESC  from dual union all
           select 'A2-2'  as col1 from dual union all
           select 'A2-3'  as col1 from dual union all
           select 'A2-4'  as col1 from dual union all
           select 'A4-S'  as col1 from dual union all
           select 'A2-10' as col1 from dual union all
           select 'A2-22' as col1 from dual union all
          select 'A5-15' as col1 from dual union all
          select 'A5-16' as col1 from dual union all
          select 'A5-1A' as col1 from dual union all
          select 'A5-1B' as col1 from dual
      )
    SELECT * FROM data
    order by SUBSTR(LOCATION_DESC,2,INSTR(LOCATION_DESC,'-')-2);
    

    * 009 *.

  • Need help with uploading photos to the new macbook

    I just bought a macbook pro 13 inch and had all my old files saved on a WD My Passport for Mac external hard drive. When try to import my library of photos from the external hard drive to the macbook, I receive a message reading "none of these files can be imported into your photo library.

    I read that you are unable to import the whole photo library to another library of photos, but I don't know if I understand that correctly. in any case, can someone please walk me through how to fix this problem, because a lot of these photos are very important to me. In case this is useful, I was able to import more pictures of the new photo library (such as those that have been saved on the desktop, iCloud etc.)

    Sorry, but unless you detail we can without help

    What format is the WD MyPassport? What you have on it (your library of Photos or just Photos)?

    You import photos - you open and migrate the library

    What version of the OS and the Photos or iPhoto do you have on your old system?

    LN

  • With a sampling of the data with DAQMX, error-200279 occurs when making 2d array dbl

    Hello

    I did a system of simple analog voltage with DAQMX data acquisition.

    It is made for reading of capacitance, where output capacitance value out of a circuit in the periodic voltage signal.

    What I want is to get data from four capacitors simultaneously through four channels, using samples n n (dbl 2d).

    The structure of my VI is almost similar with examples of continuous sampling of voltage in LabView, with the exception of a few other calculations in the loop.

    And for the synchronization of the trigger, I've corrected the edge of release with the external signal from the capacitance reading circuit.

    Version no. 1 has a channel for data input voltage. Version n ° 2 has four channels for the input data.

    While ver.1 can get accurate reading of four capacitors circuit data each (a single channel at a time),.

    ver.2 acquires four channels of data, with a single thin data channel, all the others were wrong.

    I saw a 200279 error occur in the DAQMX read part 2d dbl, so I tried increasing the buffers by changing the sampling frequency or the number of samples, but it wasn't everything.

    I rose for most of the forums with the 200279 error, but the solution would not work on mine.

    Anyone can find the problem? I will attach my screws it may include a bit of Korean language, but most of them are in English, shouldn't be too hard to recognize. Sorry for the inconvenience.

    Oh I forgot, my DAQ is NI USB-6259, and it works in Win XP sp3 and LabView 8.6.

    Thank you.

    Hello Azurenight,

    The 6259 is a DAQ card of the M Series Multiplexed, which means that it is not possible to sample each signal at the same instant, rather the channels are all sent through the ADC even and must be sampled in order. More information on this can be found here:

    LabVIEW Help: Multiplexing compared with simultaneous sampling

    http://zone.NI.com/reference/en-XX/help/370466W-01/mxcncpts/multisimulsamp/

    It may still be possible to get the data you need with the card you have - could you give more information about the maximum eligible period between samples on different channels?

    If you require * real * simultaneous sampling, you will probably need different hardware.

    Kind regards

Maybe you are looking for