Programmatic table won't hear commits

I have a table control that I'm creating programmatically by NewCtrl.  I set its control mode to VAL_HOT so that it will listen to commit events when I edit the cells.  And yet, the EVENT_COMMIT never happens.
As a test, I created a table in my UIR, set it to hot mode, and put a DebugPrintf in the  EVENT_COMMIT case.  Triggers as expected when I edit a cell.
Now back to my programmatic table, all my other events are triggering as expected:
EVENT_RIGHT_CLICK
EVENT_LEFT_CLICK
EVENT_LEFT_DOUBLE_CLICK
EVENT_GOT_FOCUS
EVENT_LOST_FOCUS
EVENT_TABLE_ROW_COL_LABEL_CLICK
What else do I need to set in a programmatic table to make commits respond?
Solved!
Go to Solution.

No change.  This is very odd.  A separate control button inserts rows into this table.  I extended this function for my UIR-based table (thinking that maybe it was the insertion of new rows that were not also being set to HOT mode).  But no such luck, even as I insert new rows on the UIR table, each additional row and cell responds to commits.
Another data point: if I change my UIR table from HOT to INDICATOR or NORMAL, only under the Control Settings (see attachment), then my EVENT_COMMIT events never happen, just as I would expect.
So the question is, how is CVI making this setting to the table?
Attachments:
2013-11-08 08_55_12-Edit Table.gif ‏15 KB

Similar Messages

  • In Pages, the column in the table won't flow onto the second page. The text is hidden. Please help!

    In Pages, the column in the table won't flow onto the second page. The text is hidden. Please help!

    Thank you for your reply,
    When I click 'view' , I can "show inspector". From the table tab, I can pull up the "Format". [See below]. I don't see the "Arrange" or "Object Placement Move with Text"
    Right now I have the Wrap Text On. When I take it off, It messes up my rows [see second image].
    All I want is for my column to flow onto the second page.
    Your assistance is genuinely appreciated.
    Thank you again.

  • Moved cd player to diff.shelf w/o removing discs,now door won't open,table won't turn,light flashes

    Relocated without removing discs from large CD player,now door won't open, table won't turn and the light inside in center of table just flashes. Any suggestions as to can I fix this?

    Follow the procedure below to troubleshoot this issue.
    Turn off the disc player.
    Unplug the power cord from the AC outlet.
    Ensure nothing is blocking the tray from opening or closing.
    Let the disc player remain without power for approximately one minute.
    Plug the power cord back into the AC outlet.
    Turn on the disc player.
    Attempt to open or close the disc drawer or tray.
    If the issue is not resolved after completing all of the troubleshooting steps, service will be required . 
    If my post answers your question, please mark it as "Accept as Solution"

  • DHCP Client Table won't reset

    Hi,
    I am rearranging my router settings, mostly my DHCP Clients, but i noticed the DHCP Client Table won't reset itself and therefore i can't add new static IP's anymore for a specific pc or printserver.
    I have a Linksys wireless router WRT54GC.
    The error which i receive after trying is "Error: This entry already exists in the Reserved PC DHCP Client Table."
    Is this a known bug and is there a way to fix this/clean up the Client Table? Without resetting my modem ofcourse.
    Thanks in advance

    This is a Linksys user forum. It is seldom you see a Linksys tchnician posting here, unless they post without acknowledging that they work for Linksys. (Which I believe they should have to do, personally. A special avatar to let us know they are Linksys personnel would be all it would take. Unless of course they wouldn't want to be held accountable for their advice )
    If you want direct tech support from Linksys, your going to have to call them....good luck!!!
    Tomato 1.25vpn3.4 (SgtPepperKSU MOD) on a Buffalo WHR-HP-G54
    D-Link DSM-320 (Wired)
    Wii (Wireless) - PS3 (Wired), PSP (Wireless) - XBox360 (Wired)
    SonyBDP-S360 (Wired)
    Linksys NSLU2 Firmware Unslung 6.10 Beta unslung to a 2Gb thumb, w/1 Maxtor OneTouch III 200Gb
    IOmega StorCenter ix2 1TB NAS
    Linksys WVC54G w/FW V2.12EU
    and assorted wired and wireless PCs and laptops

  • RFC fetching data from table which is not commited

    Hi Experts,
                   I have a query regarding commit work.Below is the RFC that i have written
    FUNCTION ZBAPI_CREATE.
    *"*"Local Interface:
    *"  TABLES
    *"      IT_ZABAP_RFC STRUCTURE  ZBAPI_RFC_STR OPTIONAL
    *"      RETURN STRUCTURE  BAPIRET2 OPTIONAL
    CALL FUNCTION 'ZBO_BAPI_CREATE'
    TABLES
       IT_ZABAP_RFC       = IT_ZABAP_RFC
       RETURN             = return
    Break-point.
    DATA lt TYPE TABLE OF ZBAPI_RFC_STR_MAIN.
    CALL FUNCTION 'ZBAPI_SEARCH_RANGE'
    * EXPORTING
    *   IS_STR        =
    TABLES
       ET_TAB        = lt
    *   RETURN        =
    ENDFUNCTION.
    here in first RFC call i am creating a record in ZTABLE , and then at break-point
    i check the ZTABLE where it does not create any record because data is not commited into ZTABLE upto this point, but just after it i have written code for fetching data from ZTABLE but i am able to get this new record in lt.
    Can anybody please explain that from where this serach RFC is providing data because inside serach i am simply selecting data from ZTABLE.
    Regards,
    Abhishek Bajpai
    Edited by: ABHISHEK BAJPAI on Jan 28, 2009 1:12 PM

    Hi Thomas,
                     Thanks for reply , i checked in ZTABLE ,before search RFC call data is not there but if i commit explicitly only then it is showing data in ZTABLE. Actually my requirement is different -
    I have two RFCs 1. Create 2. Search , Now  from web dynpro user will call first Create RFCs but at this point it should not insert record in ZTABLE and just after it user will call another search RFC and in this search he should be able to get these newly created records.
    I want to have the functionality which a user gets when working with normal database front end like SQLPLus for Oracle. In these scenarios we see that whenever user does any insert or update the data sits in the table but still it is not committed. So there he fires Select query he sees the inserted data. But if he logs off from SQL PLUS and then logs in again, and fires Select query he does not see the data as it was not committed. I want a similiar functionalty in which if user inserts the data through Create RFC and fires the Select query through Search RFC then he can see the newly Created data also even though this data is not committed.
    Although if i call create RFC in update task it will not update ZTABLE but in this situation , if user will call search RFC he will not be able to get newly created records.
    So my requirement is that i should be able to get those records which are not commited in ZTABLE .If you have still any doubt regarding my question then please let me know.
    Regards,
    Abhishek

  • Nested tables won't allign with primary table

    Hello all. It looks like I’m faced with another
    table-related obstacle. While I was creating one of my inner pages,
    I’ve utilized nested tables to create a column on the left
    hand side of the page that will hold my secondary menu, while the
    other column will hold a flash element and page content.
    Although I’ve inserted all nested tables with
    “0” cell spacing and “0” cell padding, and
    the visual aids seem to suggest that the values of the nested table
    are identical with the primary table that holds them, the nested
    table that will hold the movie and page content isn’t flush
    with the table above. It seems to be off only by 1-2 pixels or so,
    but since there will be an image right underneath the menu this is
    quite obvious.
    I have attached the code for your information (line 165,
    166).
    Thank you for your time and suggestions. I really appreciate
    it.

    On Sat, 16 Sep 2006 15:06:50 +0000 (UTC), "HTML-Newbie"
    <[email protected]> wrote:
    > Check out the link
    http://www.fastventures.com/dev/test_temp_2col.html
    and you
    >will see that the picture underneath the main menu won't
    line up with it on the
    >right-hand side.
    Change this:
    <table width="572" border="0" cellspacing="0"
    cellpadding="0">
    <tr>
    <td height="200" valign="top"><img
    src="img/place_second.jpg" width="572"
    height="200"></td>
    </tr>
    To this:
    <table width="572" border="0" cellspacing="0"
    cellpadding="0"
    align="right">
    <tr>
    <td height="200" valign="top"><img
    src="img/place_second.jpg" width="572"
    height="200"></td>
    </tr>
    Gary

  • Action of trigger to create records in table - how enusre parent commits

    Hi,
    Using oracle 11.2.0.3 and wish to do the following.
    Have trigger on table a on database a.
    When a record is inserted into table a a record should be written first to table1 on database b , committed then a record written to table2 on database b
    as table2 has fk dependency on table 1.
    How can we best achieve this.
    Getting problems with the commit inside the trigger have tried pragma autonous transaction as well.
    Get ora-02064 distributed transaction not supported when use the following code
    create or replace trigger por_TRG_POP_IKNOW_MULTIPLE2
    after INSERT OR UPDATE or delete   on por_MULTIPLE
    for each row
    -- tO ENSURE I-KNOW KEPT UP-TO-DATE WITH HOMIS MULTIPLE
    -- delib not delet form i-know as if has been used by customer cannot delete
    -- due to referential inetgrity constraints in i-know
    -- Note parent_num updated on IKW via support.maintain_latest_dim_version.update_multiple until
    -- When IKW becomes master of multiple info, this trigger can be removed
    -- and support.maintain_latest_dim_version.update_multiple removed
    declare
      PRAGMA AUTONOMOUS_TRANSACTION;
    v_dml_type varchar2(1);
    begin
       IF INSERTING OR UPDATING
       THEN
    MERGE INTO [email protected] a
          USING
           select
           :new.MULT_LINK_MULTIPLE_CODE MULT_LINK_MULTIPLE_num
           multiple2.mult_name
           from dual, por_multiple multiple2
           where :new.MULT_LINK_MULTIPLE_CODE = multiple2.mult_multiple_code
           ) b
        on
           b.mult_link_multiple_NUM = a.mgrp_NUM
    --when matched THEN update set
    --      a.MGRP_NUM b.mult_link_multiple_num,
    --      MGRP_DESCRIPTION = (select mult_name from por_multiple
      --                         where mult_code = mult_link_multiple_code
    when not matched
    then insert
    a.MGRP_NUM,
    a.MGRP_DESCRIPTION
    values
           b.mult_link_multiple_num,
           b.mult_name
    end if;
    commit;
    EXCEPTION
         WHEN OTHERS THEN
            RAISE_APPLICATION_ERROR(-20010,'Error when writing to i-know multiple '||SQLERRM||' '||SQLCODE);
    END por_TRG_POP_IKNOW_MULTIPLE2;Thanks
    Edited by: user5716448 on 14-May-2013 06:20

    Hi,
    Get ORA-02064 when try as suggested - distributed transaction not supported.
    Thanks
    create or replace trigger por_TRG_POP_IKNOW_MULTIPLE
    after INSERT OR UPDATE or delete   on por_MULTIPLE
    for each row
    -- tO ENSURE I-KNOW KEPT UP-TO-DATE WITH HOMIS MULTIPLE
    -- delib not delet form i-know as if has been used by customer cannot delete
    -- due to referential inetgrity constraints in i-know
    -- Note parent_num updated on IKW via support.maintain_latest_dim_version.update_multiple until
    -- When IKW becomes master of multiple info, this trigger can be removed
    -- and support.maintain_latest_dim_version.update_multiple removed
    declare
    v_dml_type varchar2(1);
    --pragma autonomous_transaction;
    begin
       IF INSERTING OR UPDATING
       THEN
    MERGE INTO [email protected] a
          USING
           select
           :new.MULT_LINK_MULTIPLE_CODE MULT_LINK_MULTIPLE_num
           from dual
           ) b
        on
           b.mult_link_multiple_NUM = a.mgrp_NUM
    --when matched THEN update set
    --      a.MGRP_NUM =b.mult_link_multiple_nuM
    when not matched
    then insert
    a.MGRP_NUM
    values
           b.mult_link_multiple_num
          MERGE INTO [email protected] a
          USING
           select
           :NEW.MULT_ANMW_MULTIPLE_CODE MULT_ANMW_MULTIPLE_CODE,
           :new.MULT_AUTH_REQUIRED MULT_AUTH_REQUIRED,
           :new.MULT_JMW_MULTIPLE_TYPE_CODE MULT_JMW_MULTIPLE_TYPE_CODE,
           :new.MULT_LINK_MULTIPLE_CODE MULT_LINK_MULTIPLE_num,
           :new.MULT_MULTIPLE_CODE MULT_MULTIPLE_NUM,
           :new.MULT_NAME MULT_NAME,
           :new.MULT_PROM_AUTH_REQUIRED MULT_PROM_AUTH_REQUIRED,
           :new.MULT_SELECTED_MULTIPLE MULT_SELECTED_MULTIPLE,
               'Y' MULT_active_flag,
           nvl(:new.MULT_JMW_MULTIPLE_TYPE_CODE, 0) MULT_CHANNEL_NUM,
           :new.MULT_LINK_MULTIPLE_CODE MULT_PARENT_NUM -- added 14/05/13
           from dual
           ) b
        on
           a.mult_multiple_NUM = b.MULT_MULTIPLE_NUM
    when matched THEN update set
           A.MULT_ANMW_MULTIPLE_CODE = B.MULT_ANMW_MULTIPLE_CODE ,
           A.MULT_AUTH_REQUIRED = B.MULT_AUTH_REQUIRED,
           A.MULT_JMW_MULTIPLE_TYPE_CODE = B.MULT_JMW_MULTIPLE_TYPE_CODE ,
           A.MULT_LINK_MULTIPLE_num = B.MULT_LINK_MULTIPLE_num,
           A.MULT_NAME =B.MULT_NAME,
           A.MULT_PROM_AUTH_REQUIRED=B.MULT_PROM_AUTH_REQUIRED,
           A.MULT_SELECTED_MULTIPLe=B.MULT_SELECTED_MULTIPLE,
               A.MULT_ACTIVE_FLAG = B.MULT_ACTIVE_FLAG,
           A.MULT_CHANNEL_NUM= B.MULT_CHANNEL_NUM,
           a.mult_parent_num = B.MULT_LINK_MULTIPLE_num
    when not matched
    then insert
    A.MULT_ANMW_MULTIPLE_CODE,
           A.MULT_AUTH_REQUIRED,
           A.MULT_JMW_MULTIPLE_TYPE_CODE,
           A.MULT_LINK_MULTIPLE_NUM,
           A.MULT_MULTIPLE_NUM,
           A.MULT_NAME,
           a.MULT_PROM_AUTH_REQUIRED,
           a.MULT_SELECTED_MULTIPLE,
           -- NEW FIELDS ON I-KNOW
           a.MULT_ACTIVE_FLAG,
            a.MULT_CHANNEL_NUM,
            a.MULT_PARENT_NUM
    values
           b.MULT_ANMW_MULTIPLE_CODE,
           b.MULT_AUTH_REQUIRED,
           b.MULT_JMW_MULTIPLE_TYPE_CODE,
           b.MULT_LINK_MULTIPLE_NUM,
           b.MULT_MULTIPLE_NUM,
           b.MULT_NAME,
           b.MULT_PROM_AUTH_REQUIRED,
           b.MULT_SELECTED_MULTIPLE,
           -- NEW FIELDS ON I-KNOW
           b.MULT_ACTIVE_FLAG,
            b.MULT_CHANNEL_NUM,
            b.MULT_LINK_MULTIPLE_NUM
    else
         update [email protected] p
         set  mult_active_flag = 'N'
         where  p.mult_multiple_num = :old.mult_multiple_code;
    END IF;
    if inserting
    then
       v_dml_type := 'I';
    else
      if updating
      then  
         v_dml_type := 'U';
      else
         v_dml_type := 'D' ; 
      end if;  
    end if;
    /*INSERT INTO IKNOW_AUDIT_MULTIPLE_CHANGES
    MULT_MULTIPLE_CODE,
    MULT_NAME,
    MULT_SELECTED_MULTIPLE,
    MULT_ANMW_MULTIPLE_CODE,
    MULT_LINK_MULTIPLE_CODE,
    MULT_JMW_MULTIPLE_TYPE_CODE,
    MULT_AUTH_REQUIRED,
    MULT_PROM_AUTH_REQUIRED,
    dml_type,
    DATE_ACTIONED,
    MULT_PARENT_NUM
    values
           :new.MULT_MULTIPLE_CODE ,
           :new.MULT_NAME,
           :new.MULT_SELECTED_MULTIPLE,
           :NEW.MULT_ANMW_MULTIPLE_CODE,
           :new.MULT_LINK_MULTIPLE_CODE,
           :new.MULT_JMW_MULTIPLE_TYPE_CODE ,
           :new.MULT_AUTH_REQUIRED ,
           :new.MULT_PROM_AUTH_REQUIRED,
           v_dml_type ,
           sysdate,
           :new.MULT_LINK_MULTIPLE_CODE
    EXCEPTION
         WHEN OTHERS THEN
            RAISE_APPLICATION_ERROR(-20010,'Error when writing to i-know multiple '||SQLERRM||' '||SQLCODE);
    END por_TRG_POP_IKNOW_MULTIPLE;

  • WRT300N DHCP Client table won't populate in Vista

    My web access to WRT300N won't populate the DHCP client table.
    This is a completely clean install of my PC and my router. In fact, I wiped my entire PC and loaded a clean copy of Vista on the PC. Initially, all clients in the DHCP table were visible. However, after running Windows Update (after a new install, it updates about 47 things), the clients in the table are no longer visible.
    The router otherwise works fine. But something is blocking the DHCP table from populating.
    The firmware on the router is Firmware Version: v1.03.6. I'm using Vista. The problem occurs with both Firefox and Internet Explorer (most recent versions). My Java installation is the most recent version.
    In Internet Explorer, there is a little error icon at the bottom of the screen. Double clicking on it and opening the "Details" reveals this:
    I've searched the forums and Google and found nothing about this. Does anyone have any solutions?

    It's not IE...or Firefox for that matter. They both worked and showed the router table earlier. The only difference was downloading the Microsoft updates and the Lenovo updates for my notebook. I think it was something in one of those updates. I may have to sit here and figure out how to system restore back to the time before they were installed and reinstall them one by one. What a pain. I was trying to prevent that.
    Disabling antivirus protection was a good thought. I disabled Norton and all of its little subprograms, and it didn't make a difference.
    And as far as connecting a different computer...got one I can borrow? It's a good idea, but I don't have any extras lying around, so I can't work through the error that way.
    Hoping for any other suggestions before I wind the clock back on my computer's installation.

  • Linked text inside table won't work - please help!

    Inside a 3 column table, I linked some text to a file in a different folder but the same site, and the links won't work.  I have linked text in a table before and it worked. I don't know if it's the table properties that is wrong or something else I've done, but I've read everything I can find and cannot come up with the reason why my links won't work.  can you help me?

    Sorry!  I should have done this first:
    http://www.corinthiaestates.com.php5-15.websitetestlink.com/pricing_and_availability.html
    Thanks for your help!

  • Programmatic table and table column control?

    Is there an easy way in JSC to perform:
    1) programmatic addition of columns to a data-aware Table on a single page, based upon values from a database table that defines how many columns should be in the Table?
    2) programmatic creation of entire data-aware Tables on a single page based upon parameterized queries? (Say, between 1-10 Table components wil get displayed on a single page, based upon the # of uniques for a column in a database table, and each of those Table components will display the rows from that database table as grouped by the values in that keyed column)
    I was thinking that I'd have to create a collection, but I'm unsure of which components to manipulate within the collection, and how best to hook up the event handlers when users are trying to edit the Table components' fields or add new rows, or add new columns, etc.

    Hi Winston,
    sorry fo my english,
    I'm not expert as you, but I think to have (maybe) a more dinamic solution (?).
    The target is to add a dynamic number of columns to a table bind to a database table.
    The application create an Object [ rowNbr ] [ colNbr ] array by processing the CachedRowSet.
    int rows = getMyDataProvider().getRowCount ();
    CachedRowSet crs1 = getTMyDataProvider().getCachedRowSet ();
    crs1.beforeFirst ();
    for ( int r = 0; r < rows; r++ ) {
        // Load all rows
        crs1.next ();
    ...Then this add a variable number of coloms, for example:
    TableColumn tc = new TableColumn ();
    tc.setAlign ( "right" );
    tc.setHeaderText ( colTxt );
    ValueBinding vb = app.createValueBinding ("#{MyPage.myDetailValues[MyPage.myCurrentRow.cursorRow.rowId][" + colNbr + "]}");
    StaticText st = new StaticText ();
    st.setValueBinding ( "text", vb);
    tc.getChildren().add (st);
    getMyTableRowGroup().getChildren().add ( tc );Just if some people interested.
    Ciao, franco

  • New user: connection succeeds, tables won't display

    I am new to raptor. I have successfully connected to several databases. I can create queries using CTRL-Space to autocomplete the names of tables. However, when I try to view the available tables in the tree view on the left, I click the plus symbol and then it disappears and it is as if there aren't any tables for me to view. I know this isn't the case as I've logged in with the same connection variables via other tools and the tables are showing up in the auto-complete when I type queries.
    Has anyone seen this or have any thoughts on the subject?
    Thanks, Frank

    Well, by default you're only looking at the tables in
    your login schema. What results do you get with
    select count(*) from user_tables;0 (zero)
    and
    select count(*) from all_tables;349
    To see others' tables, you need to look under "Other
    Users" then select a schema then "Tables"This worked to a certain point. Upon opening Other Users and clicking Show More I can now see all of my schemas and then see the tables that are in each schema (that are visible to this user). The only problem I'm noticing now is that when I click on a table I get the following error when I have the Columns tab selected:
    ORA-00904: invalid column name
    Vendor code 904
    If I select the Data tab I can see the data in the columns but I get the following errors when selecting the following tabs:
    Indexes: ORA-00900: invalid SQL statement Vendor code 900
    Constraints: ORA-00904: invalid column name Vendor code 904
    Column Statistics: same as above
    Frank

  • HFM missing tables, won't start after a restart of services.

    Posted this on MOSC community, also posting here.
    We recently added servers (foundation, hfm web, hfm app and planning) to our DEV environment. Things seemed to running okay on both HFM app servers until we tried to run the copy utility.
    Immediately got "Invalid object name" errors. A couple examples are shown below.
    <DStr>Invalid object name 'TEHFM_PARAMETERS'.</DStr>
    <Param>SELECT * from TEHFM_PARAMETERS WHERE UPPER(NAME) = N'LAST_PHASED_SUB_GRP_ASSGN_UPDATE'</Param>
    <DStr>Invalid object name 'TEHFM__USERPARAMS'.</DStr>
    <Param>SELECT BLOBData FROM TEHFM__USERPARAMS WHERE Username = N'admin@Native Directory' AND ParameterKey = 'HsvSystemInfo_NumberFormat' order by EntryIDX</Param>
    The USERPARAMS Error turned up quite frequently. We allowed the copy to run until it completed with errors. The tables that the error log complained about were not missing. You could execute the SELECT on both the source and destination databases and data was found.
    We checked SQL permissions (no issues) and then kicked off the copy again. Same result, but this time the copy utility was cancelled. After a restart of the environment, we could not bring up HFM. This time the logs complained about missing TEHFM_ENTITY_HEADER and TEHFM_SCENARIO_HEADER tables. A check of the database revealed that these tables were in fact missing from the HFM application.
    We are on HFM 11.1.2.2.306. Any help/suggestions appreciated.

    The first thing that I would do would be a Repair Install. Most Adobe programs, and earlier versions of En, allow for this, and it saves a great deal of time. I assume that CS5 has not done away with this.
    In many Adobe programs, one would just go to Help>Repair Install, having their media handy. If this does not appear, then I would inset the media, and it should survey the system, finding all installed programs from that disc. One should then choose the program, Encore in this case, and again it will survey the system, and offer either Uninstall, or Repair Install, which would be the choice here.
    I had to do a Repair Install for the entire CS2 Production Studio (all programs), and it took less than 45 mins. to complete, and most of that was swapping discs into the DVD drive.
    Good luck,
    Hunt

  • Table won't center in Firefox

    This is a new post in regards to a previous problem. I have
    made some changes, but have been unable to find a complete solution
    yet. Maybe someone can help.
    I originally created a template using tables, and have since
    redesigned it using CSS for most of my layout (in attempts to speed
    up the loading time.) My main problem is in how Firefox (I haven't
    checked this page with a Mac yet either) reads the page. It tries
    to put the content left aligned (this was not reflected in the
    document after I made my first post about this issue becasue I
    tried to make some adjustments unsuccessfully). Here's the main
    issue:
    I have tried to place a table to hold the editable region of
    my template in the <div> named #maincontent. Here's what
    #maincontent looks like:
    #maincontent {
    background-image:
    url(images/background/adoption-bkgd-mid-3.gif);
    background-repeat: repeat-y;
    background-position: center;
    position: absolute;
    width: 100%;
    top: 305px;
    text-align: center;
    visibility: visible;
    I want this table to appear centered in all browsers. How can
    I acheive that?
    If you look at the site in IE7 everything looks fine, but in
    Firefox the table is left aligned (now that it has been changed
    back).
    Here's the site:
    www.robertandsharon.com
    Thanks again,
    Sharon

    Don't you also need to add a CSS width? Seems like I always
    need to do
    that....
    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
    ==================
    "Osgood" <[email protected]> wrote in
    message
    news:[email protected]...
    > Give the table in the 'maincontent' <div> an 'id'
    named 'mainTable' see
    > code below.
    >
    >
    > <div id="maincontent">
    > <table border="0" id="mainTable" cellpadding="0"
    cellspacing="0"
    > width="800">
    >
    > Then add this css to your css style sheet.
    >
    > #mainTable {
    > margin-left: auto;
    > margin-right: auto;
    > }
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    > sharonw wrote:
    >> This is a new post in regards to a previous problem.
    I have made some
    >> changes, but have been unable to find a complete
    solution yet. Maybe
    >> someone can help.
    >>
    >> I originally created a template using tables, and
    have since redesigned
    >> it using CSS for most of my layout (in attempts to
    speed up the loading
    >> time.) My main problem is in how Firefox (I haven't
    checked this page
    >> with a Mac yet either) reads the page. It tries to
    put the content left
    >> aligned (this was not reflected in the document
    after I made my first
    >> post about this issue becasue I tried to make some
    adjustments
    >> unsuccessfully). Here's the main issue:
    >>
    >> I have tried to place a table to hold the editable
    region of my template
    >> in the <div> named #maincontent. Here's what
    #maincontent looks like:
    >>
    >> #maincontent {
    >> background-image:
    url(images/background/adoption-bkgd-mid-3.gif);
    >> background-repeat: repeat-y;
    >> background-position: center;
    >> position: absolute;
    >> width: 100%;
    >> top: 305px;
    >> text-align: center;
    >> visibility: visible;
    >> }
    >>
    >> I want this table to appear centered in all
    browsers. How can I acheive
    >> that?
    >>
    >> If you look at the site in IE7 everything looks
    fine, but in Firefox the
    >> table is left aligned (now that it has been changed
    back).
    >>
    >> Here's the site: Thanks again,
    >> Sharon
    http://www.robertandsharon.com
    >>
    >

  • Event Table won't work

    This is my tables and data:
    CREATE TABLE Client
    (Client_Code CHAR (4) PRIMARY KEY,
    Client_Name CHAR (15),
    Client_Address CHAR (20),
    Client_City CHAR (22),
    Client_State CHAR (2),
    Client_Zip CHAR (5),
    Client_Phone CHAR (10) );
    CREATE TABLE Event
    (Event_Code (2) PRIMARY KEY,
    Client_Code CHAR (4),
    Event_Day CHAR (20),
    Event_Date DATE,
    Event_Menu CHAR (35) );
    CREATE TABLE Supply
    (Supply_Code CHAR (5) PRIMARY KEY,
    Supply_Name CHAR (25),
    Supply_Quantity CHAR (5),
    Supply_Cost CHAR (6) );
    CREATE TABLE Provider
    (Provider_Code CHAR (7) PRIMARY KEY,
    Supply_Code CHAR (5),
    ProviderName CHAR (15) );
    INSERT INTO Client
    VALUES ('1000', 'Tom Kane', '1019 Dungan St', 'Philadelphia', 'PA', '19152', '2156732216');
    INSERT INTO Client
    VALUES ('1001', 'Mark Rocca', '343 Capital Way', 'Washington', 'DC', '62359', '4646932668');
    INSERT INTO Client
    VALUES ('1002', 'Larry Cone', '7275 Dennis Road', 'Santa Monica', 'CA', '49215', '6095576339');
    INSERT INTO Client
    VALUES ('1003', 'Sally Finegan', '6628 Lynford St', 'Wildwood', 'NJ', '23462', '2678923650');
    INSERT INTO Client
    VALUES ('1004', 'Hal Romero', '8620 Colony Dr', 'Tampa', 'FL', '73068', '7639958636');
    INSERT INTO Event
    VALUES ('00', '1000', 'Friday', '12-MAY-2010', 'Steak and Lobster');
    INSERT INTO Event
    VALUES ('01', '1001', 'Monday', '22-MAY-2010', 'Deli Sandwiches');
    INSERT INTO Event
    VALUES ('02', '1002', 'Saturday', '30-MAY-2010', 'Pancakes and Eggs');
    INSERT INTO Event
    VALUES ('03', '1003', 'Tuesday', '11-JUNE-2010', 'Roast Beef and Pork');
    INSERT INTO Event
    VALUES ('04', '1004', 'Sunday', '26-JUNE-2010', 'Meatballs and Pasta');
    INSERT INTO Supply
    VALUES ('10001', 'Golden Quality', '100', '12050');
    INSERT INTO Supply
    VALUES ('10002', 'Market Fresh', '125', '14199');
    INSERT INTO Supply
    VALUES ('10003', 'Pantry Fresh', '150', '9687');
    INSERT INTO Supply
    VALUES ('10004', 'Gold Quality', '175', '10567');
    INSERT INTO Supply
    VALUES ('10005', 'America Choice', '200', '8623');
    INSERT INTO Provider
    VALUES ('50001', '10001', 'Walmart');
    INSERT INTO Provider
    VALUES ('50002', '10002', 'Target');
    INSERT INTO Provider
    VALUES ('50003', '10003', 'Pathmark');
    INSERT INTO Provider
    VALUES ('50004', '10004', 'Acme');
    INSERT INTO Provider
    VALUES ('50005', '10005', 'Superfresh');
    I having everything working correctly except the Event Data. I am getting the following error:
    CREATE TABLE Event
    (Event_Code (2) PRIMARY KEY,
    Client_Code CHAR (4)
    Event_Day CHAR (20),
    Event_Date DATE,
    Event_Menu CHAR (35) )
    ORA-00902: invalid datatype

    You never specified a data type for your EVENT_CODE.
    CREATE TABLE Event
    (Event_Code <MISSING DATA TYPE> (2) PRIMARY KEY,
    Client_Code CHAR (4)
    Event_Day CHAR (20),
    Event_Date DATE,
    Event_Menu CHAR (35) )Also after taking a look at this model I have a question. How come there are no foreign keys? For example I would assume that the CLIENT_CODE in the EVENT_TABLE references the CLIENT table?
    What's the purpose of EVENT_DAY? What does that store. If it is the day of the week or something like that then you don't need that column and you can use TO_CHAR() function against the EVENT_DATE to get that information.
    Finally, I see you are using a lot of CHAR based columns. Any particular reason? Unless your column values are always going to be the maximum you should consider using VARCHAR2 instead.
    Edited by: Centinul on Apr 26, 2010 2:50 PM

  • Oracle Entity Framework: some tables won't update the entity data model

    I've successfully connected to an oracle database, and I've set up an entity data model project in Visual Studio 2010.
    Using "Update Model from Database" on the EDMX file, some tables that I select are imported, but others do not appear. Is there something about these tables that prevents them from being imported?
    Thanks
    Jonathan Poor
    Rubin & Poor, Inc.

    When I tried this the first time, I missed a message that answers my question:
    The table/view does not have a primary key defined and no valid primary key could be inferred. This table/view has been excluded. To use the entity, you will need to review your schema, add the correct keys, and uncomment it.
    Another table was brought in because the entity model managed to infer a primary key:
    The table/view does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.

Maybe you are looking for

  • HP Printer and macbook air

    I am having a lot of problems getting my printer and my new macbook air to function together. One night they worked as long as I had them connected by a USB cable, but then the next morning they would not, and as far as wireless goes, they will not c

  • Transferring creative cloud to new iMac

    I transferred all my files, including Creative Cloud to my new iMac. Creative Cloud suggested i download it, which I did, but when I went to install it, I get a message that says it is damaged and to re-download it. I have done this three times now w

  • When using field point I/O points i get error message

    when labview 1st loads and i open my FP vi which uses FP I/O points to specify the channels, they are all greyed out and the error "unable to bind to comm port" is returned. on running the program a second time, no errors are returned. also i cannot

  • Change site name

    i've published my iWeb site to a folder on my desktop. Not to the web yet. Because for some strange reason, each time i publish (save) my site to a folder, the folder name always has an underscore at the end. I did NOT put an underscore at the end of

  • Link imac and ipad

    how to link with new email address