Print insert result to a printer in TSQL trigger after insert - Need help.

Hi,
I am trying to print a record to a printer whenever a new record is inserted into a table called PrintTickets, using TSQL trigger for insert. 
Is it possible to print a new inserted record to a printer?
Here is the trigger tsql statement: 
ALTER TRIGGER [dbo].[PrintDeal]
ON [dbo].[PrintTickets]
AFTER INSERT
AS
declare @Id numeric(18,0)
,@DealId char(15)
,@ValueDatePeriod1Currency1 datetime
,@Bank1Name char(56)
,@Currency1 char(3)
,@Currency2 char(3)
,@PaymentInstructionP1C1 char(80)
,@DealerId char(6)
,@DealVolumeCurrency1 float
,@CalVolumeP1C2 float
,@ExchangeRatePeriod1 float
declare @tmp table
Id numeric(18,0)
,DealId char(15)
,ValueDatePeriod1Currency1 datetime
,Bank1Name char(56)
,Currency1 char(3)
,Currency2 char(3)
,PaymentInstructionP1C1 char(80)
,DealerId char(6)
,DealVolumeCurrency1 float
,CalVolumeP1C2 float
,ExchangeRatePeriod1 float
PRIMARY KEY (Id)
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
-- Insert statements for trigger here
insert @tmp
select
Id
, DealId
, ValueDatePeriod1Currency1
, Bank1Name
, Currency1
, Currency2
, PaymentInstructionP1C1
, DealerId
, DealVolumeCurrency1
, CalVolumeP1C2
, ExchangeRatePeriod1
FROM dbo.PrintTickets
WHERE ID=@@IDENTITY
select @Id=Id
,@DealId=DealId
,@ValueDatePeriod1Currency1=ValueDatePeriod1Currency1
,@Bank1Name=Bank1Name
,@Currency1=Currency1
,@Currency2=Currency2
,@PaymentInstructionP1C1=PaymentInstructionP1C1
,@DealerId=DealerId
,@DealVolumeCurrency1=DealVolumeCurrency1
,@CalVolumeP1C2=CalVolumeP1C2
,@ExchangeRatePeriod1=ExchangeRatePeriod1
from @tmp
-- Code to print to a physical printer if possible
END
The table is called PrintTickets and it contains the following columns: 
Id numeric(18,0)
,DealId char(15)
,ValueDatePeriod1Currency1 datetime
,Bank1Name char(56)
,Currency1 char(3)
,Currency2 char(3)
,PaymentInstructionP1C1 char(80)
,DealerId char(6)
,DealVolumeCurrency1 float
,CalVolumeP1C2 float
,ExchangeRatePeriod1 float
PRIMARY KEY (Id)
The dummy records that I am inserting for testing the results in csv format:
Id,DealId,ValueDatePeriod1Currency1,Bank1Name,Currency1,Currency2,PaymentInstructionP1C1,DealerId,DealVolumeCurrency1,CalVolumeP1C2,ExchangeRatePeriod1
696,XXX#33111 ,2014-03-04 00:00:00.000,HSBC ,USD,EUR,XXXXXXXXXXXXXXXXXXXXXXX ,MAT ,342342,87987,0.3123
697,XXX#33113 ,2014-03-04 00:00:00.000,USB ,EUR,USD,9999999999999999999999,ZXY,2334243,32213,0.3245
698,XXX#33114 ,2014-03-03 00:00:00.000,SWISS BANK ,CHF,USD,99999999999999900000,XYZ ,32423424,342,0.83432
699,XXX#33115 ,2014-03-03 00:00:00.000,UK BANK ,USD,PND,XXXXXXXXXXXXXXXXXXXXXXX ,ABC,9809808,0,0.0349
700,XXX#33116 ,2014-03-04 00:00:00.000,USCF BANK ,XXX,XXX,XXXXXXXXXXXXXXXXXXXXXXX ,ABC,89798797,756756,0.734
I appreciate any help.
Thanks in advance.

Is it possible to print a new inserted record to a printer?
From SQL Server?
The task of SQL Server is to manage large of data effciently. It is not a general programming environment. It could possibly be done with a CLR procedure that that talks to the printer, but it is not the correct solution.
A possible design could be to post a message on a Service Broker queue, and then the printing server would poll the queue and print the ticket.
By the way, there are more flaws in your trigger. To find the inserted rows, you need to query the virtual table "inserted" which holds a copy of these rows. Furthermore, since a trigger fires once per statement, the trigger must handle the fact
that multiple rows are inserted.
Erland Sommarskog, SQL Server MVP, [email protected]

Similar Messages

  • Error while firing a trigger After Insert

    Dear All
    I have created a Table named Punches in user Punch
    and I have written a trigger after Insert on table Punches
    In that Trigger i am wrting some select Command
    and Insert command
    tables are located in Other User
    while firing the trigger it is showing Error.
    pl help

    Arbar Mehaboob - user553581 wrote:
    Dear All
    I have created a Table named Punches in user Punch
    and I have written a trigger after Insert on table Punches
    In that Trigger i am wrting some select Command
    and Insert command
    tables are located in Other User
    while firing the trigger it is showing Error.
    pl helpplease provide:
    1) your database version
    2) the table DDL's
    3) some sample data
    4) the trigger code
    5) the error message you're getting.
    without these, it is impossible to suggest an answer.

  • Firefox will not open after installation. i have tried to install several times with the same results. installation sends a list to firefox each time. need help. willard lee

    will not open after installation. i have tried to install several times with the same results. installation sends a list to firefox each time. need help. willard lee

    Can you attach a screenshot or link to the instructions you are following?
    You are on the 3.6 release and Firefox 7.0.1 is out. You can download and install the latest release from http://www.mozilla.org/en-US/firefox/new/ if you would like to update now. The 3.6 version will be maintained for a while longer, but you should update when you can.

  • Send e-mail sing trigger after insert

    Hi,
    I need to intiate a trigger in oracle dB after inserting a
    record to table I need to send a e-mail to specified person.
    This trigger should be cnditional.
    eg. Table emp
    columns: name dep sal
    on insert of every record to this table and when dep code is 3 I
    should send e-mail to named person.
    Please give me code examples.
    thanks

    Hi,
    Maybe what you are looking for is the db package UTL_SMTP?
    If you're using Forms, go to the Navigator, Database Objects,
    choose SYS schema and open Stored Program Units. If it's not
    there, contact your DBA. I'm not sure if it's available for
    databases prior to 8.1.6
    Hopefully, the package spec will have some examples that you can
    use.
    Good Luck,
    Pedro
    [email protected]

  • Error on Trigger After Insert

    I am having two table based on insertion on table one i have created trigger , trigger will insert the data to table two
    i am getting the error when i execute for the second time i.e i have execute one record each successfully in both tables.
    on second time i'm getting this error
    CREATE OR REPLACE TRIGGER Triggername
    AFTER INSERT ON mytable
    DECLARE v_local varchar2(1800);
    BEGIN
    SELECT col1 INTO v_local FROM myschema.mytab;
    insert into mytable (Col1,Col2,Col3)
    with t1 as( select v_local str from dual),
    t2 as( Select startid, endid from SplitLayout),
    t3 as
    ( select str,startid s,endid e, row_number() over(order by startid) rn from t1,t2)
    select * from t3 pivot
    max(substr(str,s,e)) str for rn in (1,2,3);
    End;
    startid,Endid
    1,1
    2,1
    3,1
    ERROR at line 1:
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "myschema.Triggername", line 4
    ORA-04088: error during execution of trigger 'myschema.Triggername'
    ORA-06512: at "myschema.SPname", line 4
    ORA-06512: at line 1

    Hi,
    eleven less than yesterday. That's good for a start. But keep on tidying up.
    Concerning your trigger-problem, "933663" is very right to say
    >
    you are creating a AFTER INSERT trigger on MYTABLE, which will again insert data into MYTABLE ..!!!!
    >
    I can't either see why this should be sensible. Do you know the concept of :new and :old. Have a look at
    [url http://docs.oracle.com/cd/E11882_01/server.112/e25789/srvrside.htm#CNCPT118]Overview on Triggers. DML-Triggers should interest you most for now.
    As far as I understand your first posting the following passage causes the problems
    >
    SELECT col1 INTO v_local FROM myschema.mytab;to analyze if this statement causes the
    >
    ORA-01422: exact fetch returns more than requested number of rows
    >
    you may execute something like
    select count (*)
    from myschema.mytab
    group by col1
    having count(*) > 1;Good luck
    Bye
    stratmo

  • Custom Trigger After Insert

    After a insert into table 1, i want to take a value from that transaction and use it in a custom trigger to instert into another datbase the 2 values. One is the primary key value of the transaction of table 1 and the other is a session variable of the logged in user. I can get the value of the session user, but i cant get the value of the transaction field.
    $updateRequestDate = "INSERT INTO request_notify (id_request, username) Values({rsrequest.id_request}, '" . $_SESSION['kt_login_user'] . "')";
    $update_result = $tNG->connection->execute($updateRequestDate);
    if(!$update_result) {
    $updateError = new tNG_error("Error setting the logged in status to N", array(), array());
    return $updateError;
    } else {
    return NULL;
    I have the custom trigger set to go after insert transaction.
    How do you get the value of a transaction field for a custom trigger?

    Gunter,
    You rock. Working example, using your knowledge.
    $updateRequestDate = "INSERT INTO test2 (idtest_note, username_note) VALUES ('". $tNG->getColumnValue("id_test") ."', '". $_SESSION['kt_login_user']."')";
    $update_result = $tNG->connection->execute($updateRequestDate);
    if(!$update_result) {
    $updateError = new tNG_error("Error setting the logged in status to N", array(), array());
    return $updateError;
    } else {
    return NULL;

  • How-To "Refresh a table of data after inserting or deleting"

    I'd like to say a word on the how-to article "How to refresh a table of data after inserting or deleting a row using ADF".
    (http://www.oracle.com/technology/products/jdev/howtos/1013/updtable/index.html?_template=/ocom/technology/content/print)
    I spent a lot of time on it because I needed help in implementing simple CRUD functionality on a table, using JSF-ADF-TopLink technologies.
    While the the article does provide correct steps, it is in one important place not specific enough, so the reader may easily get stuck. In section "Refresh the data table", point 1: when you double click on the removeEntity() button, in Structure window, then you do not get the required dialog. You get CommandButton Properties dialog.
    You must click on the removeEntity() button in Editor's Design view. But even there you may get the CommandButton Properties dialog, not managed beans dialog.
    You may resolve that by going to JSF configuration file, faces-config.xml, and switch to Overview view. This will show you the managed beans that you have.
    Then, you may already have a backing bean for the page. You can use that and avoid creating a new managed bean.
    I could understand what the operations mean only after very careful reading of "Creating More Complex Pages", section "Overriding Declarative Methods" in JDeveloper Help (or in ADF Developer's Guide PDF document).
    In general: I believe that "ADF bindings" need more conceptual explanation, maybe in form of an article. Grammatical form "bindings" may create a false understanding that "bindings" are just references. But they are not -- ADF bindings are active objects that handle traffic between UI components and Data Controls. It seems that "bindings" even communicate among themselves. Maybe it would be more understandable to differentiate strictly between "binding objects" (or "binders"?), binding object definitions and binding object references.
    It would be very helpful to have a diagram showing grahically what specific binder objects are created in a small apllication (2-3 pages using 1-2 tables), with whom they communicate and what type of data is passed on.
    Priit

    Hi
    Thanks for your infos.
    Yes exactly I use almost the same code you have post here.
    Could You answer to my next questions?
    First - >what do you mean by saying that "it's not good idea using refreshing in IE?" Of course I use refreshing in backing_bean for my button "remove" that removes row, commit changes to database and refresh table, almost the same as You said in your post:
    Code in backing_bean is and comments on difference to Your code is below:
    public commandButton2_action1(){
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding =
    bindings.getOperationBinding("removeEntity");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    //above remove entity, but I dont now if it do commit to database? So i do it below
    OperationBinding commit1 = bindings.getOperationBinding("Commit");
    commit1.execute();
    //and at the end I refresh my table, "findAllRezerwacja1 - it is an id of the methodAction, not the iterator -> is it ok? or should I change to Iterator id?
    OperationBinding requery = bindings.getOperationBinding("findAllRezerwacja1");
    requery.execute();
    return null;
    Page Definition code for this:
    <methodAction id="findAllRezerwacja1"
    InstanceName="SessionEJBLocal.dataProvider"
    DataControl="SessionEJBLocal" MethodName="findAllRezerwacja"
    RequiresUpdateModel="true" Action="999"
    ReturnName="SessionEJBLocal.methodResults.SessionEJBLocal_dataProvider_findAllRezerwacja_result"/>
    <table id="findAllRezerwacja2" IterBinding="findAllRezerwacja1Iter">
    <AttrNames>
    <Item Value="dataDo"/>
    <Item Value="dataOd"/>
    <Item Value="idRezerwacja"/>
    <Item Value="liczbaUczestnikow"/>
    <Item Value="prowadzacy"/>
    <Item Value="uwagi"/>
    </AttrNames>
    </table>
    <methodAction id="removeEntity" InstanceName="SessionEJBLocal.dataProvider"
    DataControl="SessionEJBLocal" MethodName="removeEntity"
    RequiresUpdateModel="true" Action="999">
    <NamedData NDName="entity"
    NDValue="${bindings.findAllRezerwacja2.currentRow.dataProvider}"
    NDType="java.lang.Object"/>
    </methodAction>
    <action id="Commit" IterBinding="findAllRezerwacja1Iter"
    InstanceName="SessionEJBLocal.dataProvider"
    DataControl="SessionEJBLocal" RequiresUpdateModel="true"
    Action="2"/>
    </bindings>
    //and rest of code for Iterator etc
    My second question is, why when you use refresh button in IE (I know is not recommended as You said, but sometimes user do it, so I want prevent situations that I will describe here) so when I press refresh button in IE exactly after removing one row by clicking my button, refreshing by pressing IE button is doing the same --> is deleting next row. How to stop deleting row, when for example user would press IE refresh button after pressing remove button for table. If I change selection in table after deleting row, and press refresh button in IE, instead of deleting row, I got error message: JBO-29000: JBO-35007: and
    JBO-35007. So where Im doing wrong. Maybe I should do sth with postback ? Could You help me? Thanks in advance
    Last one question: what is the difference between using delete and removeEntity from operations node? Im now reading carefully ADF Dev Guide, so I hope I can find infos there? But if You know, please answer to this question.
    Thanks

  • After insert trigger error

    Hi,
    i have created an Trigger After Insert According to me, It's correct But it show me Error Can Not Insert Null in to code.
    CREATE OR REPLACE TRIGGER  "AFT_INS_CRM_CUSTOMER_CONTACTS"
      AFTER INSERT ON FH_TAPROD.CRM_SALES_CUSTOMER_CONTACTS
    FOR EACH ROW
    DECLARE
    custo_id NUMBER;
    var_code varchar2(8);
    cont_code varchar2(5);
    BEGIN
    SELECT CUSTOMER_ID INTO custo_id FROM CRM_SALES_CUSTOMER_CONTACTS WHERE ID =:NEW.ID;
      select CODE into var_code from VENDOR_CUSTOMER_MAS where CRM_CUST_ID=custo_id ;
      SELECT LPAD ( NVL(MAX(CONTACT_CODE), 0)+ 1, 5, '0') into cont_code FROM vendor_customer_contact
      insert into VENDOR_CUSTOMER_CONTACT(SBU_CODE ,CODE,CONTACT_CODE, CONTACT_NAME ,PHONE_NO1 ,MOBILE_NO ,EMAIL, ADDRESS1,CUST_ID,UPLOAD_CRM)
       values('0002',var_code,cont_code,:NEW.CONTACT_NAME,:NEW.CONTACT_PHONE,:NEW.CONTACT_CELL,:NEW.CONTACT_EMAIL,:NEW.CONTACT_ADDRESS,custo_id,'CRM');
    END;
    CREATE TABLE  "CRM_SALES_CUSTOMER_CONTACTS"
       (     "ID" NUMBER,
         "CUSTOMER_ID" NUMBER,
         "CONTACT_NAME" VARCHAR2(255),
         "CONTACT_EMAIL" VARCHAR2(255),
         "CONTACT_PHONE" VARCHAR2(255),
         "CONTACT_CELL" VARCHAR2(255),
         "CONTACT_ADDRESS" VARCHAR2(4000),
          PRIMARY KEY ("ID") ENABLE
    INSERT INTO CRM_SALES_CUSTOMER_CONTACTS VALUES (204414862717175278810736770347803084847, 204232590877603599356756434170666837075, 'SANJAY',    '[email protected]', 1246456, 57152357,'Near Post Office');
    CREATE OR REPLACE TRIGGER  "BIU_CRM_SALES_CUST_CONTACTS"
    BEFORE INSERT OR UPDATE ON CRM_SALES_CUSTOMER_CONTACTS
        FOR EACH ROW
    begin
        if inserting and :new.id is null then
            select to_number(sys_guid(),'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') into :new.id from dual;
        end if;
        if inserting then
            :new.created_by := nvl(v('APP_USER'),USER);
            :new.created_on := sysdate;
        end if;
        if updating then
            :new.updated_by := nvl(v('APP_USER'),USER);
            :new.updated_on := sysdate;
        end if;
    end;My After Insert TAble
    CREATE TABLE  "VENDOR_CUSTOMER_CONTACT"
       (     "SBU_CODE" VARCHAR2(4) NOT NULL ENABLE,
         "CODE" VARCHAR2(8) NOT NULL ENABLE,
         "CONTACT_CODE" VARCHAR2(5) NOT NULL ENABLE,
         "CONTACT_NAME" VARCHAR2(1000) NOT NULL ENABLE,
         "PHONE_NO1" VARCHAR2(100),
         "MOBILE_NO" VARCHAR2(25),
         "EMAIL" VARCHAR2(1000),
         "ADDRESS1" VARCHAR2(4000),
         "CUST_ID" NUMBER,
         "UPLOAD_CRM" VARCHAR2(10),
          CONSTRAINT "VCV_PK" PRIMARY KEY ("SBU_CODE", "CODE", "CONTACT_CODE") ENABLE
    ORA-01400: cannot insert NULL into ("FH_TAPROD"."VENDOR_CUSTOMER_CONTACT"."CODE") ORA-06512: at "FH_TAPROD.AFT_INS_CRM_CUSTOMER_CONTACTS", line 30 ORA-04088: error during execution of trigger 'FH_TAPROD.AFT_INS_CRM_CUSTOMER_CONTACTS'How to resolve it.
    Thanks
    Edited by: 805629 on Jan 14, 2011 1:26 AM

    This is your trigger
    CREATE OR REPLACE TRIGGER  "AFT_INS_CRM_CUSTOMER_CONTACTS"
      AFTER INSERT ON FH_TAPROD.CRM_SALES_CUSTOMER_CONTACTS
    FOR EACH ROW
    DECLARE
    custo_id NUMBER;
    var_code varchar2(8);
    cont_code varchar2(5);
    BEGIN
    SELECT CUSTOMER_ID INTO custo_id FROM CRM_SALES_CUSTOMER_CONTACTS WHERE ID =:NEW.ID;
      select CODE into var_code from VENDOR_CUSTOMER_MAS where CRM_CUST_ID=custo_id ;
      SELECT LPAD ( NVL(MAX(CONTACT_CODE), 0)+ 1, 5, '0') into cont_code FROM vendor_customer_contact;
      insert into VENDOR_CUSTOMER_CONTACT(SBU_CODE ,CODE,CONTACT_CODE, CONTACT_NAME ,PHONE_NO1 ,MOBILE_NO ,EMAIL, ADDRESS1,CUST_ID,UPLOAD_CRM) values('0002',var_code,cont_code,:NEW.CONTACT_NAME,:NEW.CONTACT_PHONE,:NEW.CONTACT_CELL,:NEW.CONTACT_EMAIL,:NEW.CONTACT_ADDRESS,custo_id,'CRM');
    END;This is the insert who fire it
    INSERT INTO CRM_SALES_CUSTOMER_CONTACTS VALUES (204414862717175278810736770347803084847, 204232590877603599356756434170666837075, 'SANJAY',    '[email protected]', 1246456, 57152357,'Near Post Office');Then the trigger execute
    SELECT CUSTOMER_ID FROM CRM_SALES_CUSTOMER_CONTACTS WHERE ID =204232590877603599356756434170666837075;
    select CODE from VENDOR_CUSTOMER_MAS where CRM_CUST_ID=<result of previous query>;
    SELECT LPAD ( NVL(MAX(CONTACT_CODE), 0)+ 1, 5, '0') FROM vendor_customer_contact;
    Insert ...And fail.
    Execute the select in your sqlplus one by one and post result.

  • Problem with a field set to refresh after insert at Row level

    hello all,
    i have a problem with a field (a serial) which is set by a db trigger at insertion. The field "refresh after insert" is properly set in the Entity and everything is refreshed correctly when i insert data via an adf form in a jspx but when i want to insert programmatically nothing is refreshed. I insert data this way :
    ViewObject insertVO = findViewObject("myView");
    Row newRow = insertVO.createRow();
    newRow.setAttribute("mandatoryAttribute1",value1);
    newRow.setAttribute("mandatoryAttribute2",value2);
    <more init here but not the serial since it will be set by the DB trigger>
    insertVO.insertRow(newRow);
    but when i want to get back the value with "newRow().getAttribute("TheSerial");" i always get a null back and not the value set by the db trigger.
    One way to get the serial is to commit after each insert but i don't want to commit between inserts.
    i've tried to unset the refresh after insert and override the createDef() method to setUseReturningClause(false) as it's is advised in chapter 26.5 of the ADF 4GL dev. guide but in this case i have an exception JBO-29000: JBO-26041.
    How can i get the value back properly ?
    thanks
    -regards

    The data for the newly created row doesn't get inserted into the database until the commit is executed, so the insert trigger isn't called.
    If you need to get the value without committing, then you should implement the trigger programmatically and drop the trigger from the database. The code below shows how you could do this.
    ViewObject insertVO = findViewObject("myView");
    Row newRow = insertVO.createRow();
    SequenceImpl seq = new SequenceImpl("MY_SEQ", insertVO.getDBTransaction());
    Long next = (Long)seq.getData();
    newRow.setAttribute("primaryAttribute", new Number(next));
    ...You will need to replace MY_SEQ and primaryAttribute with the correct values for your example, but this should acheive what you want.

  • Divs are shifting after inserting spry menu bar

    I have tried so much that it has driven me crazy. Initailly I created this site by APdivs and it came out perfect and worked great, except it was not fluid and looked bad on bigger browser and screen size. I decided to change it to fluid way. Now I am in bad shape as soon as I put a horizontal spry menu bar. it shifts the columns to the left and leaves a blank space next to the column 3. I am out of idea, how to fix it. As soon as I take the menu bar out, it works perfect. and columns are stretched to the end on both sides.
    Here is the link of test page
    www.hpbsurgery.net
    This is what I have tried-nothing worked
    put menu bar in container
    put menu bar in header div
    Put mebu bar in a horizontal div inside header div.
    changed the size and dimension of menu bar
    Any help would be greatly appreciated as I am running out of time.
    Thanks much all....

    Thanks very much for your help. I just wanted to mention one thing which I discovered this am by accident out of frustration. Originally, I was trying to control the size of the 3 columns with external CSS and it was messing up after inserting menu bar. I wrote directly in the code this am to exactly define the size besides in my CSS. AND............it fixed the problem and stretched the columns to the end on both side and sizes were appropriate, I am still not sure why did it happen.
    I am not a professional and trying to build my own site as I have interest in web design, but this is first time with DW.
    I really appreciate your help and suggestion about the code.
    Thanks a lot, 
    Date: Wed, 26 Sep 2012 12:46:19 -0600
    From: [email protected]
    To: [email protected]
    Subject: Divs are shifting after inserting spry menu bar 
        Re: Divs are shifting after inserting spry menu bar 
        created by Nancy O. in Dreamweaver General - View the full discussion 
    You appear confused about how to use CSS classes and IDs.  Classes (.className) can be used multiple times in layouts as for re-usable styles.  IDs (#IDName) can be used only one time per page -- as for layout regions or when JavaScript is needed to act upon it.  Try copying and pasting this code into a new blank page.  Hopefully it will make more sense than what you have now. 
    <!NEW LAYOUT> 
    body  
    #header
    #horizontalmenu {
    min-height: 43px;
    width: 100%;
    overflow: hidden;
    margin: 0px;
    #leftbar {
    background-color: aqua;
    float:left;
    width: 18%; /*combined width and padding = 22%*/
    padding:2%;
    #middlebar {
    background-color: white;
    float:left;
    width: 52%; /*combined width and padding = 56%*/
    padding:2%;
    #rightbar    {
    background-color: green;
    color:white;
    float:right;
    width: 18%; /*combined width and padding = 22%*/
    padding:2%;
    #credential
    #footer {
    background-color: maroon;
    width: 100%;
    color:white;
    padding:2%;
    #header
    [Item 2 | #]
    [Item 3 | #]
    [Item 3.1 | #]
    [Item 3.1.1 | #]
    [Item 3.1.2 | #]
    [Item 3.2 | #]
    [Item 3.3 | #]
    [Item 4 | #]
    <!END #HEADER>
    #leftbar
    #middlebar
    #rightbar
    #credential
    #footer
      Nancy O. 
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4729585#4729585
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4729585#4729585
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4729585#4729585. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver General by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • "creta user" in an "after insert" table trigger

    Dear members,
    I'm having trouble when I want to create an oracle user in a trigger after inserting in a table.
    It says that I don't have privileges to do so, but my user is DBA, and I can create a new user directly with no problem from this user.
    Do I need a special privilege for some actions through a trigger ?
    Is user creation possible at all in such a trigger ?
    Thanks for your help.

    My guess is that you have the create user privilege granted to you through a role, not directly. Stored procedures don't know about privileges you have through roles.
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com/askDDBC

  • When i print out cd album case inserts-the songs all print in one glob and then the photo of album on same page prints out normal-only happens on my itunes -not anywhere else i print ok thanks

    hi-i need help- when i try to print a cd jewel case insert(i did this many times)the songs side will print out on top of each other like one big glob-and the other half the photo of album comes out correct-i thought it was my old printer so of course got a new one-still does the same crap-help me

    I believe that insufficient RAM may be the source of some of your problems. If you have a RAM of somewhere 4 to 8GB, you will experience smoother computing. 3GB doesn't seem right, so you might want to learn more by going to this site:
    http://www.crucial.com/store/drammemory.aspx
    I don't know what know what's happening with your optical drive, but it seems you use your drive quite a bit. In that case, look into a lens cleaner for your machine. It's inexpensive, works quite well.
    I hope you'll post here with your results!

  • How can i  print reports to different printer by use Trigger on table after insert

    Hello,
    Please can any one tell me how can i print (any message) to different printer (network & local printer) by use Trigger on table after insert.
    regards,
    Linda.

    What you want to do cannot be done with PL/SQL, which does have any print utilities. However you could write something using Java Stored Procedures.
    Of course the "different printer" bit will have to be data driven as triggers are not interactive.
    rgds, APC

  • I am trying to print a color photo on my MacBook Pro from iPhoto (not using Photoshop) using Epson 2200 printer, and everything I do in the Color Matching and Print Settings results in a photo with a pink cast to it. What am I doing wrong?

    I am trying to print a color photo on my MacBook Pro from iPhoto (not using Photoshop) using Epson 2200 printer, and everything I do in the Color Matching and Print Settings results in a photo with a pink cast to it. What am I doing wrong?

    Have you checked the ink cartridges and made sure the nozzles are clear? Are you able to print from outside of iPhoto with the correct color?
    Try the following: make temporary copy of the library and do the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iPhoto folder. 
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    OT

  • Keep getting a "the disk you inserted was not readable by this computer" when I insert my printer cord into either USB port.  Recently installed a portable hard drive for back up purposes.  Related?

    Keep getting a "the disk you inserted was not readable by this computer" when I insert my printer cord into either USB port.  Recently installed a portable hard drive for back up purposes.  Related?

    Does your printer have a slot for an SD card?  Is there are card in the slot?  If so, the computer is trying to mount that card as an external device.  It might be corrupted so that it can't be read.

Maybe you are looking for

  • K8T Neo2 V2.0 SATA-Problem

    Hi Folks, I got a "problem" with my K8T Neo2 V2.0. At first I had 3 IDE-drives, but I needed a new DVD-burner to read double-layer discs. So I bought a SATA-Drive, plugged it in and it worked good. (VIA 5.13A hyperions). After that I decided to go fo

  • Function module to add 2 time fields

    I've 2 time fields : t1 = 06:00:00 (start time)                             t2 = 06:00:00 (end time)                             t3 = 01:30:00 (break time)               it's basically : t1 + t2 - t3. the result should be : 21:30:00

  • SYSTEM ERROR : com/adobe.processingexception:Problem accessing data from De

    Hi SAP Guru, We have configured ADOBE for separate ABAP server and Java Server. But when I am execution report FP_TEST_00 getting below error ADS: com.adobe.ProcessingException: Problem accessing d(200101) Message no. FPRUNX001 FP_CHECK_DESTINATION_S

  • [solved] Office 2007 bin32-wine-suse Problems

    I installed bin32-wine-suse from the AUR and then installed Office 2007 per the wiki. I can run applications but I cannot move or resize windows. Any ideas? Last edited by rbn14 (2010-03-17 02:22:49)

  • 12c: redaction_policies table not visible in dba_tables, dictionary

    The table redaction_policies is visible when we describe it or search tab but is not listed in dictionary or dba_tables. NCDB@NCDB> desc redaction_policies Name                    Null?    Type OBJECT_OWNER            NOT NULL VARCHAR2(128) OBJECT_NA