Diplaying Pictures according to conditions....

hiii all ,
I am trying to display the stamp of each doctor on the Prescription at the bottom of the page to the left ...........what i did is ???i put all the signatures in the apatche folder then i am calling each picture according to the doctor ID :-
DECLARE
q VARCHAR2 (1000);
BEGIN
q := q || 'SELECT 15000,dr_id, DECODE(dr_id, ';
q := q || '750, ''<img src="/i/elina2.gif" >'', ';
q := q || '20, ''<img src="#IMAGE_PREFIX#bullet2.gif" >'', ';
q := q || '30, ''<img src="#IMAGE_PREFIX#bullet3.gif" >'', ';
q := q || '40, ''<img src="#IMAGE_PREFIX#bullet4.gif" >'') ';
q := q || 'image, dr_name FROM dr ';
q :=
q
|| 'WHERE CASE WHEN TO_NUMBER (:p7_dr_id) != -1 THEN dr_id '
|| 'ELSE 1 END = CASE WHEN TO_NUMBER (:p7_dr_id) != -1 '
|| 'THEN TO_NUMBER (:p7_dr_id) ELSE 1 END';
RETURN q;
END;
but the signature it is coming in the middle i want it to be in the left ...
and one more question i tried to write this code in the region footer or in the page footer coz i couldnt do it there is any way to add it to the footer ,coz it is to important to me ,,,
Thanks in advance
Ahmed.

Hi
The CPU temperature depends on the notebook usage.
If you run some applications which would load the CPU a lot, then the CPU temperature could increase to a higher level.
To decrease the heat dissipation, it could be advisable to decrease the max CPU performance (< 90%).
This can be done in the Windows Advanced Power options.
I don’t know if it would be the option for you but it seems that the change of thermal grease (for example: arctic mx4) could also help to improve the cooling performance.
see other thread:
https://forum.toshiba.eu/showthread.php?82427

Similar Messages

  • CPU according to conditions used to warm?

    CPU according to conditions used to warm? - Temperature 78% - Fan 90% - due to risk not updated BIOS - that makes a difference? - Fan grilles are free !!
    I have until December 2015 TOSHIBA International Warranty - please advise - PC info and conditioning in Annex

    Hi
    The CPU temperature depends on the notebook usage.
    If you run some applications which would load the CPU a lot, then the CPU temperature could increase to a higher level.
    To decrease the heat dissipation, it could be advisable to decrease the max CPU performance (< 90%).
    This can be done in the Windows Advanced Power options.
    I don’t know if it would be the option for you but it seems that the change of thermal grease (for example: arctic mx4) could also help to improve the cooling performance.
    see other thread:
    https://forum.toshiba.eu/showthread.php?82427

  • Changing row color according to condition statement

    Hi,
    Is there a way that I can color a row or field in a report according to a condition? For example, can I color red all rows where an amount is over 1,000? Or can I just highlight the field that answers to the criteria?
    Thank you.
    Leah

    Hi,
    The row cannot be colored
    just the cell that match the criteria
    tamir

  • Display rows according to conditions

    Hi
    I have a requirement where i need to display the rows and corresponding values depending on the condition.
    I need the Count of As and Bs whose aggregate spend sum for transactions in the specified calendar year falls within spend ranges. The ranges will continue to increment by 500 until all As and Bs are accounted for.
    for example there are 20 transactions falling within the zone of 100-500, 10 transactions falling with in the range of 501-1000 this will continue untill all the records are checked. the catch here is the MAX value range that we can get is unknown. it may be 1000, 5000 or 10000. So, the row has to be displayed dynamically along with their corresponding counts.
    each range is displayed in each different rows.
    Any help is much appreciated.
    Thanks,
    Raj

    Could you edit your post (edit button in top right of your post) and put {noformat}{noformat} tags around your data and query.
    So you've shown use what output you are getting, how about showing us, or highlighting which of the rows you want returned so it's clear to us.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Two query result rows in single report according to condition

    Is it possible to have a report where the first rwo of the report will display the result of query1 and second row will display the result of query2.
    The query1 and Query2 are as follows:
    SELECT BNO, DATA1 FROM TABLE1 ;
    SELECT RNO, DATA2 FROM TABLE2
    The matching condition is BNO = RNO(+)
    Kindly suggest ?
    Sanjay
    CREATE TABLE TABLE1
    BNO          NUMBER,
    DATA1        VARCHAR2(20)
    CREATE TABLE TABLE2
    RPNO           NUMBER,
    RNO         NUMBER,
    DATA2       VARCHAR2(20)
    INSERT INTO TABLE1(BNO, DATA1) VALUES(111,'200');
    INSERT INTO TABLE1(BNO, DATA1) VALUES(112,'400');
    INSERT INTO TABLE1(BNO, DATA1) VALUES(113,'500');
    INSERT INTO TABLE2(RPNO,RNO,DATA2) VALUES(10,111,'100');
    INSERT INTO TABLE2(RPNO,RNO,DATA2) VALUES(11,111,'100');
    INSERT INTO TABLE2(RPNO,RNO,DATA2) VALUES(12,111,'100');
    INSERT INTO TABLE2(RPNO,RNO,DATA2) VALUES(13,112,'400');
    INSERT INTO TABLE2(RPNO,RNO,DATA2) VALUES(14,113,'500');

    One option can be UNION ALL
    SELECT
         BNO,
         DATA1
    FROM
              SELECT
                   BNO, DATA1,rownum as rn
              FROM
                   TABLE1
              UNION ALL
              SELECT
                   t2.RNO as BNO, t2.DATA2 as DATA1, rownum as rn
              FROM
                   TABLE2 t2
              WHERE
                   EXISTS
                        SELECT
                             1
                        FROM
                             table1 t1
                        WHERE
                             t1.bno = t2.RNO
              ORDER BY
                   1,3
    BNO                    DATA1               
    111                    200                 
    111                    100                 
    111                    100                 
    111                    100                 
    112                    400                 
    112                    400                 
    113                    500                 
    113                    500                 
    8 rows selected

  • Concatenation according to condition

    Hi All,
    I ahve to concatenate the rows based on other row values....
    example:
    Col1 Col2
    A X
    A Y
    B Z
    B Y
    needs to load into target table as:
    Col1 Col2
    A X:Y
    B Z:Y
    concate col2 accoring to col1
    Thanks

    1. What are your source and target databases? Are they on same instances if they are of the same technology type?
    2. I would not go to an interface if the tables are on the schema and technology would be Oracle with version later than 9i. In that case, I would use the following SQL
    INSERT INTO t2 (col1, col2)
    SELECT col1, REPLACE(WMSYS.WM_CONCAT(col2),',',':')
    FROM t1
    GROUP BY col1;
    There is a way to code this in an interface but a procedure would be simplest.
    3. In case, assumptions in point 2 failed, there is a long road to the general solution. The solution above will give you answers if you have maximum two rows with same col1 value. I am interested to explore what happens if there are n rows with same column value when n being a random number? In the following steps, I would try to outline how we need to proceed, but because this is complicated, you may have to work with me here (t1 is source, t2 is target and tech is Oracle):
    A. Create a variable v_MaxRows. In the refresh block, write:
    WITH temp AS (
    SELECT col1, count(*) as cnt_rows FROM t1 GROUP BY col1)
    select MAX(cnt_rows) FROM temp
    If technology is not Oracle, you have to adjust SQL a bit to make it work. This variable holds maximum no of rows a particular value of col1 is repeated in source t1.
    B. Create a variable v_UseRow and do not create a refresh block for it. The default value should be 1.
    C. Create a temp table (or temp tables based yellow interface) called t3 with columns col1, col2 and nrows (numerical value). Create an interface I1 with t3 as target. col1 and col2 should be mapped directly. Mapping for nrows column should be -> dense_rank() OVER(partition by col1 order by col2).
    D. 1. Create interface I2. t3 should be the target.Update key for table t3 should be (col1,nrows).
    2. Bring t3 two times to the source side (with alias t31 and t32), join them using col1. Mark the join as Left Outer Join on staging.
    3. Create a filter on t31 as t31.nrows = 1 (executable on source)
    4. Create a filter on t32 as t32.nrows = #v_UseRow+1 (executable on source)
    5. On target, map for col1 should be t31.col1, map for col2 should be -> t31.col2||(CASE WHEN t32.col2 IS NOT NULL THEN ':'||t32.col2 ELSE '' END)
    6. Column nrows should be mapped to 1.
    E. Load target t2 using interface I3 and source t3. Direct mapping should work.
    F. Create a package. Refresh #v_MaxRows and then call I1. Then define a loop where v_UseRow is set to 1, call I2, increment v_UseRow by 1, see if that is less than *#v_MaxRows*, then call I2 again else call I3 and exit. That way interface I2 would be called #v_MaxRows -1 times and all repeating values would be concatenated together.
    I am interested to know the result. Please let me know the result.

  • How to print the picture in PDF ?

    I developed a plug-in(Annot) that dynamically display a picture according some condition in PDF,but the picture cannot be printed. How to print the picture ?

    In the print dialog, make sure that Print: Comments (which means
    annotations) is on.
    Aandi Inston

  • How to print the picture ?

    I developed a plug-in(Annot) that dynamically display a picture according some condition,but the picture cannot be printed. How to print the picture ?

    In the print dialog, make sure that Print: Comments (which means
    annotations) is on.
    Aandi Inston

  • Pricing date in condition type

    Hi All,
    I just wanted to know what is use of "pricing date" + '' quantity conversion" field in condition type.
    How and what is the functionality of this field.
    Thanks in advance.
    Cheers!

    > I am trying to find out what is the difference if I  am going to sellect Billing date (KOMK-FKDAT)....instead of Price date (KOMK-PRSDT).
    If you will give the date Billing date, then the value of condition type will be effective only on the billing date, and not on the Pricing date.
    For example :
    You made the sales order on date 20.06.2009  for the 10 Qtys at the rate of 10 Rs Per qty
    Did the PGI on 23.06.2009
    Invoice on 23.06.2009
    Now say for a specific condition type the record get changed on 23.06.2009 ( Like fresigh surcharge) then the new record will be effective if you have choosen the option billing date in Condition type. and if you have choosen the option of Price date than the date from the sales order pricing date will come into picture.
    Hope its clear.
    > QTY Conversion.
    >
    > Prasanth you mention ''condition bases'' ...................if you could what exactly you mean by that OR is there any other way to understand this more clearly.
    As you might be knowing in pricing procedure we give Alternative condition base value......... So if quantity conversion is ticked here then the conversion of quanity will takes place accordingly.
    Condition bases in nothing but Alternative condition base value in Pricing pricedure.
    Thanks,
    Raja

  • Condition type wise report

    can we have condition type wise report of all billing documents executed
    thanks
    srinivasan

    See u r prices are in KONV & Billing Tables are VBRK & VBRP
    VBRK is Header Table
    VBRP is Detail table
    Now enter billing document number in VBELN field of VBRK & extract KNUMV i.e Document Condition.
    Also enter billing document number in VBELN field and material number in field of MATNR & extract Item Number POSNR,
    So now u are having Document condition & item number
    Put this two things in KNUMV & KPOSN fields of KONV & u will get all values in KWERT according to Condition Type.
    I hope this will help u.
    Regards
    SWAPNIL

  • How do i set the size of 3d picture control

    dear sir,
                I have attached my vi.I have one doubt  ie I have used translate object. vi in my vi to move my picture according to the value set by the y position.This y position indicates depth my object.this is sample object  insteat of i am going to update my underwater vehicle.
    What my problem is when i chnage the y value beyond 200 I can not see my picture.so  how do i set the size of the 3d picture control size.
           I have to see my picture within the 3d picture control eventhough i change the y value between 0-500,how do i solve my problem.
    Another my doubt is how do i show the depth value (ie y value in translate object .vi) in 3d picture control ie while the picture is moving in a 3d picture control at the same time i want to display the corresponding depth rating in the 3d picture control
    Pls anyone suggest me as soon as possible.
    Thanks and regards
    jayanthi.k
    Attachments:
    Untitled 1.llb ‏67 KB

    Jayanth,
    Take a look at the attached example.  Alternatively, you can search for it in NI Example Finder by going to Help>>Find Examples in LabVIEW, click on the search tab, and search for meshes.  I had difficulty reading your code, but I believe you need to position your lighting source in the optimal location to get better definition.  And the example shows how to bind a color to the object.
    Trey B
    Applications Engineering
    National Instruments
    Attachments:
    Using Meshes.vi ‏76 KB

  • Preserve Canon Picture Styles

    Is it possible to setup Lightroom so that when it first reads my pictures from my Canon 5D it doesn't apply any of the Lightroom preset processing but instead apply whatever in-camera preset I may have selected using the well known Canon Picture Styles.
    Note that when I first import the pictures form my 5D into Lightroom before doing the first loading, the picture is showed with the settings that was taken in-camera, but as soon as the loading is complete, the Lightroom preset is applied and I loose all my in-camera presets. So that makes me believe that Lightroom can read those in-camera presets so I'm just looking for a way of avoiding it to over write them automatically.
    Any idea if that's possible?
    Thanks

    I think the main problem Richard is the extreme difficulty (at least for me who doesnt want to spend to much time on the technical side) in coming up with a preset that provides consistent results for all the pictures, whatever the conditions in which there are captured.
    In DPP the "landscape" style provides great Velvia results consistently for pictures taken in any kind of light. So in terms of colour rendition, the main adjustments required are usually WB and that's all.
    So I believe the main problem with LR, ACR or the like, is to come up with such consistent preset.
    Personally, I always look for the best quality in all my pictures so RAW is a must, especially for fine art printing. And although RAW provides us with this advantage of more freedom in the processing of our photos, the main problem for me is that since I've gone digital 3 years ago, my time in the field has significantly gone down and been replaced by countless hours on the computer solving quite difficult technical problems.
    The camera and software manufacturers are really enjoying all this as it provides them with huge opportunities for selling products. But as for photographers that means they need to be more than that, i.e. software and computer "gurus" too! and I'm not sure we have the time for that (I don't anyway and I'd rather spend that time out there taking photos).
    Samuel Bitton
    www.samuelbitton.com

  • Why does the camera take grainy pictures

    I have two iPads of the same ipads. 
    I noticed one of them takes grainy pictures and videos and the others quality is great.

    I have not yet set them side by side.  But pretty much so.  One of them gets a poor
    picture in sunny conditions,  they are both models with retina display. 
    The only difference is one
    has more memory and a CDMA modem.

  • How to set discount condition for distount condition?

    Hellow!
    We use price condition ZP01 (base price)
    Then discount condition ZDI1 (discount for customer group and material group) is implemented for base price
    This works fine.
    But now I need to implement extra condition to correct discount. It is percent condition which redice discount for customer.
    Example
    base price ZP01
    100 EUR
    discount  ZDI1
    cust group 01 material group 01  - 10%
    cust group 01 material group 02 - 20%%
    DISCOUNT CORRECTION (ZDK)
    cust 1001 0,7 (or 30%)   (cust 1001 in 01 customer group)
    It means that discount in sale document for material group 01  should be 7% and for mat group 02 14% . So condition ZDK reduce discount perchens but not item price.
    Please  help me, how ZDK should be inserted into price procedure.
    Andrey Garshin.

    Hi Andrey,
    Are there any logical reasons behind the reduction as follow:
    1) 10% --> 7% (Material Group 1)
    2) 20% --> 14% (Material Group 2)
    If there are logic to these reduction, you can proceed to write a routine in VOFM and assign it accordingly for condition type ZDK in your pricing procedure.  However, this does not seems to be a standard practice and business wise this would also appear to be rather inflexible and are constrained by the routine you built alone.
    Alternative to the above, I would recommend that you could also consider using the standard condition type PMIN (minimum pricing) given in the standard pricing procedure.  The reason you are probably reducing (or correcting) the discount is also because too much discounts are granted in any sales transaction and therefore you may want to establish a control that there should be a minimum price for a particular material sold. This can be achieved automatically using the PMIN condition type. 
    As such, if the minimum price is not met during pricing in sales order transaction, then the system automatically determines the difference using condition type PMIN.
    Example:
    Condition record PMIN: USD 1,000
    Sales Order Pricing:
    PR00 (Basic Price) = USD 1,250
    K007 (Customer Discount) = USD 300
    PMIN (Minimum Price) = USD 50
    Net Value = USD 1,000 (as per PMIN condition record USD 1,000)
    Whenever minimum price for a material change, you can just change the condition record to quickly change your requirement without changing the configuration.
    Hope the above helps give an idea on how to approach your discount design.
    Thanks.

  • Preview - change duration of displayed pictures

    Dear Apple-community,
    is there a way to change the duration of diplayed pictures when I start a slideshow in Preview 4.2? Some kind of terminal line or something like that? Because there is no option in the preferences. I do not want to install 3rd party software because Preview got everything I want.
    Except from the fact that Preview is displaying pictures at lightspeed....
    Best regards

    iPhoto is to huge in many cases. I like the lightweight of Preview. Nothing gets stored. You don't have to tag / label / organize. Simply Drag&Drop a bunch of photos to Preview and start the slideshow.

Maybe you are looking for

  • 10g RAC with linux 3 AS+ocfs

    Hi: Is anyone install 10g RAC on linux 3AS with ocfs successfully? I am having problem with CRS installation where installer ask to run root.sh. My first node finished root.sh without any problem but not second node it give me "Failure at final check

  • JMS Receiver Adapter Conversion problem

    Hi All, My Scenario. Websphere MQ(JMS Adapter)--->SAP XI--->Webspher MQ(Receiver Adapter)----->Mainframe MQ I am using Module parameters in JMS Receiver Adapter. Module Sequence in the Receiver Channel No. Module Name T Module Key 1 localejbs/AF_Modu

  • I recently switched from iphone to samsung galaxy s5 and am not receiving messages.  I have tried countless fixes but nothing has worked!

    I have tired deactiving my device from icloud online, I have had my contacts delete me and re-add me as a contact.  I have also had them try deleting our entire message thread and starting a new one.  I also had them hold down message and select "sen

  • Don't use bold font in file names

    I use Bridge in detail view, and the image names are in bold font in that view. When you click on an image name to edit the name, it resizes, which is annoying: every time I click on a name, I click at the point where I want to insert or begin select

  • Comment feature to Dam:assets

    Hello, I would like to add comments to our DAM assets. I created a node comments owning the propertysling:resourcetype=collab/commons/components/comments I tried to use the createcomments script with this url http://server:4502/content/dam/myasset.ai