Checkbox that refers to one number(1) table field

Hi,
Did anyone experience this, like having an ASP check box that refers to one number type Oracle table field, in a Gridview. I now even have used one number(18) Oracle table field instead (since in ASP, it seems I have to choose one int16 as the type for the corr. updateparameter of that template field).
<asp:CheckBox runat="server" ID="chkitem" Checked='<%# Eval("Selected") %>'
Text='<%# Eval("Selected") %>' />
Now I've got one exception for the above line. Can anyone pls share your knowledge/experience with me?
Bst Rgds,
HuaMin

Have anyone on this planet successfully run this ever? I do have a problem with this.
<ItemTemplate>
<asp:CheckBox runat="server" ID="chkitem" Checked='<%# Eval("selected") %>'
Text='<%# Eval("selected") %>' />
</ItemTemplate>
<EditItemTemplate>
<asp:CheckBox runat="server" ID="chkupdate" Checked='<%# Eval("selected") %>'
Text='<%# Eval("selected") %>' />
</EditItemTemplate>

Similar Messages

  • How can I have a checkbox that a user checks and populates a field with read only text, then if another checkbox is checked it will allow user text input

    Hi
    How can I have a check box that a user checks and populates a field with read only text, then if another check box is checked it will allow user text input into that same field, her is my javascript
    var a ="Not Applicable"
    if (this.getField("Do").value == "Yes")
    a=""
    if (this.getField("DoNot").value =="Yes")
    a=a + ""
    event.value=a
    say if the "Do" cb is checked, Not Applicable would populate the text field, and if the "DoNot" cb is checked it would allow user input into the same text field, the javascript I have will not allow user input,
    thanks for any help I am new to javascript

    Are these fields mutually exclusive?

  • Integration of one or more tables into a single database alias name

    Hi Experts,
    Hi Experts,
    I got some problem while working with the crystal reports in VB.NET.  How to combine one or more table fields
    with in the single database alias name?
    --roseline

    Please provide more info.

  • Check box in a table field

    Hi experts ,
    I have a requirement of having one of the table field as checkbox .when i kept it as checkbox it is not getting reflected in sm30 .i need to have a check box displayed in the field of the table in sm30 .

    Hey i too came across this problem and i guess changing Screen could be a troublesome task.
    Other option is:
    First Regenerate that particular table.
    TCODE: SE14 --> Enter table name --> Click on Activate and adjust database button.
    If it wont works then last option is:
    Delete the Table Maintenance generator for that particular table and again create it with same details, make sure you dont change anything while recreating it (even the screen number must be same).
    Open table in  (Change mode) --> Utilities --> Table maintenance generator --> Delete it and again create with same parameters.
    This will surely work,
    <REMOVED BY MODERATOR>
    Regards Pankaj.
    Edited by: Alvaro Tejada Galindo on Jun 12, 2008 7:31 PM

  • Find Table Field  for  Q0045-OPELO in HR Payroll

    Dear All,
      I have a requirement to find the Loan Balance as on date from Infotype 0045.
    In the screen field it show that data is  linked to  this table field...   Q0045-OPELO .
    Now My Problem is how To find the  Database table Name where exactlly the amount value store and i can use that fro my report to  calculate the  Loan Balance for required Employee.
    Its urgent..........
    Regards
    Lakhan

    Hi Lakhan,
    The loan balance amount is not stored in the database table. It is instead stored against WT /LLB in the payroll cluster table PCL2. If you want to retrieve this amount, then you have to use a macro to select the payroll results for the period you are running the report and then select the RT table.
    The /LLB entry (if exists) in the RT table will hold the loan balance amount.
    Hope this helps.
    -Akshay
    Edited by: Akshay Patil on Dec 26, 2007 3:51 PM

  • FM to find Search help for a table field

    Hello Colleagues,
    is there any function module which would return the search help associated with a table field ?
    I tried with the FM F4IF_DETERMINE_SEARCHHELP but it returns search help that is associated with either to table field DE or search helps associated with the value table fields. I need to find only
    the search helps that are associated with a table field but not the value tables or fixed values.
    For ex. If i pass table_name = 'SFLIGHT' and field_name='CARRID' then it should return me S_CARRIER_ID. but if i pass field_name='CONNID'  then it should return nothing..
    Best Regards, JVR

    Hi Kishore,
    Use the Function Modulein the F4 help associated with a table field ...
    CALL FUNCTION ' HELP_VALUE_GET"
    EXPORTING
      fieldname =  'CARRID'  "field name in the table you refer
      tabname = 'SFLIGHT'   "Table name
    IMPORTING
    select_value = S_CARRIER_ID.  "Selected field
    Regards,
    Prabhudas

  • Defining a table field as radiobutton

    Hi experts,
    I have a client table with two fields defined as char 1. Now, when creating the screen for SM30, I want these two fields as radiobutton. In the layout, I have created them as radiobutton but now, I don't know how to group them. It understands there are two radiobutton groups, one for each table field. But what I want is to create a group for each table row, only one of the two fields should be marked.
    Could you help me, please?
    Thanks in advance,
    Ainara.

    Grouping facility is available in module pool.
    go to the layout of the screen and select all the radio-buttons columns u want to group, right-click and Grouping -> Define..
    Reward point if useful
    Regards
    Prax

  • Maximum number of tables that can be outer joined with one table in a query

    Hi All,
    Iam new to sql, so can you please let me know What is the maximum number of tables that can be outer joined with one table in a query?
    Thanks,
    Srini

    srinu2 wrote:
    Iam new to sql, so can you please let me know What is the maximum number of tables that can be outer joined with one table in a query?
    There is no limit to the number of tables you can outer join as long as you join them correctly.
    SQL> with a as
      2      (
      3      select 1 id, 2 b_key, 3 c_key from dual union all
      4      select 2 id, 1 b_key, 4 c_key from dual union all
      5      select 3 id, 3 b_key, 1 c_key from dual union all
      6      select 4 id, 4 b_key, 2 c_key from dual
      7      ),
      8      b as
      9      (
    10      select 1 id, 1 c_key2 from dual union all
    11      select 2 id, 5 c_key2 from dual union all
    12      select 3 id, 3 c_key2 from dual union all
    13      select 4 id, 2 c_key2 from dual
    14      ),
    15      c as
    16      (
    17      select 1 key1, 1 key2, '1-1' dta from dual union all
    18      select 1 key1, 2 key2, '1-2' dta from dual union all
    19      select 1 key1, 3 key2, '1-3' dta from dual union all
    20      select 1 key1, 4 key2, '1-4' dta from dual union all
    21      select 2 key1, 1 key2, '2-1' dta from dual union all
    22      select 2 key1, 2 key2, '2-2' dta from dual union all
    23      select 2 key1, 3 key2, '2-3' dta from dual union all
    24      select 2 key1, 4 key2, '2-4' dta from dual union all
    25      select 3 key1, 1 key2, '3-1' dta from dual union all
    26      select 3 key1, 2 key2, '3-2' dta from dual union all
    27      select 3 key1, 3 key2, '3-3' dta from dual union all
    28      select 3 key1, 4 key2, '3-4' dta from dual union all
    29      select 4 key1, 1 key2, '4-1' dta from dual union all
    30      select 4 key1, 2 key2, '4-2' dta from dual union all
    31      select 4 key1, 3 key2, '4-3' dta from dual union all
    32      select 4 key1, 4 key2, '4-4' dta from dual
    33      )
    34  select d.a_id, d.b_id, c.key1 as c_key1, c.key2 as c_key3, c.dta
    35  from
    36      c,
    37      (
    38      select
    39          a.id as a_id, b.id as b_id, a.c_key, b.c_key2
    40      from a, b
    41      where a.b_key = b.id
    42      ) d
    43  where d.c_key = c.key1 (+)
    44  and   d.c_key2 = c.key2 (+);
          A_ID       B_ID     C_KEY1     C_KEY3 DTA
             3          3          1          3 1-3
             4          4          2          2 2-2
             2          1          4          1 4-1
             1          2
    SQL>

  • How do I make form or table where certain numbers update according to a formula when the user enters one number?

    Hi, I am an amature website designer and have made a website
    using dreamweaver. I am very lost when it comes to doing tougher
    things in dreamweaver. I want to create a small form or a table
    where there will be 7 or so numbers that are generated based on
    simple formulas for each one once you enter one number. Can someone
    please help me with this task whether it is in dreamweaver or even
    making it out of flash or anyway that this would be the easiest to
    make possible. Thanks

    Here's a very simple form you could use to perform a
    calculation, it this case, squares the input value and writes it
    back to another input field... Hopefully you can use this as a
    pattern to apply your own algorithm. You'll need to do validation
    to assure the entered fields are appropriate for the calculation
    (required fields are entered).
    Hope this gets you started.
    ================================================
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta content="text/html; charset=utf-8"
    http-equiv="Content-Type" />
    <script type="text/javascript">
    function squareit() {
    var num = document.getElementById('myinput');
    var res = document.getElementById('myresults');
    res.value = Math.pow(parseFloat(num.value), 2);
    </script>
    </head>
    <body>
    <form id="myform">
    <label for="myinput">Number: </label><input
    id="myinput"><br/>
    <label for="myresults">Result: </label><input
    id="myresults"><br/>
    <input type="button" value="Calculate"
    onclick="squareit()"/>
    </form>
    </body>
    </html>

  • How to calculate some value that referring to another table

    Hi...
    Need help asap
    The questions are :
    Q1 : In Microsoft Excell, we can take value from one cell and use it to another cell.
    How about in BO, if we want to take value (ex. 93.75) from the other table and use or refer the value that we want to to another table (just use the value from another table)
    Just for information, we want to use the number (93.75) in another function. (if <93.75, then........) and the value (93.75) is a result from another function or calculation.
    Q2 : How to SUM from one table and show the result to another table.(We want to use the result of SUM for another calculation in different table.)
    Thanks for your kind help.

    Eva,
    In answer to your question about using a cell from report (block) as a value to be manipulated within another block, will be tricky unless you can employ the "Merge Dimensions" technique.  Working in the blind and trying to visualize what you are trying to do is very difficult, so to speak in general terms, you will have to determine a best way to merge dimensions, then build specific local variables to "flag" and extract succinct values from one data provider, and then use that local variable in applying it to the other block.  This will take some experimentation and testing before you can feel confident and get the hang of it.
    On the other hand, if you know what the threshold value is that you want to apply (like for instance 91.75), then you can either "hardcode" that in your formula(s), or build a prompt in your report that captures this tidbit from the user when the report runs, and using the UserResponse function you should be able to calculate what it is you want to do.
    Good luck and post more details (specific tables, columns, and manipulations) and perhaps some one can post a suggestion on how to best execute your report.
    Thanks,
    John

  • Hi, i am looking to set cells so that when one number decreases the other increases. The catch is that when the first number goes up the other stays the same. And when it starts decreasing again the other builds up. so forth

    Hi, i am looking to set cells so that when one number decreases the other increases. So say cell A is at 5, and cell B is at 0. When Cell A goes to 4, Cell B goe to 1. The catch is that when Cell A gets down to 1, and i change it to 5 again, Cell B will be on 4 and start incresing from that point on when cell A decreses. This is to show an amount of sales within a company when stock is sold.
    Example:
    A = 3
    B = 0
    A = 2
    B = 1
    A = 1
    B = 2
    A = 3
    B = 2
    A = 2
    B = 3
    A = 1
    B = 4
    A = 3
    B = 4
    A = 2
    B = 5
    Sorry if this sounds confusing.
    Many Thanks,
    Oliver

    Can't be done, in a single cell, for the reasons given by Jerry.
    But not difficult in a column:
    I've moved the columns one to the right to put them in the body cells of the default Numbers table.
    Current stock is listed in column B, with results of increases and decreases entered manually. Any increase  is assumed to be a restocking, and does not affect the sales to date figure in column C. Any decrease in stock is regarded as a sale and increases the current total in column C by the amount of the decrease.
    Until an entry is made in B, the corresponding cell in B will show a hyphen. This can be changed by changing the text between the quotation marks in the formula.
    Enter the formula into C3 and Fill it down the rest of column C.
    Regards,
    Barry

  • I used an upgrade from a different phone to purchase a new iPhone.  How do I assign that phone its original number (not the one that it was upgraded from)?

    I used an upgrade from a different phone to purchase a new iPhone.  How do I assign that phone its original number (not the one that it was upgraded from)?

    Phone number of the device is assigned by the carrier.
    Ask the carrier.

  • How to exclude records from one table that is contained in a second table

    I am trying to create a Crystal report that excludes records from one Table that is contained in a second table using the != link option and it is not working. I've tried all of the different enforce options, and it is still not excluding those records. Does anyone have any suggestions of what I'm doing wrong or any other suggestions how I can obtain the results I need?
    Thanks in advance!

    Have you tried by Command ?
    Thanks,
    Gordon

  • Can we define a view that refers to 50 tables?

    Hi,
    I've a problem at hand and I'm not sure what the right solution I can adopt.
    There is an application which hits the DB (v11.2) for accessing a single view 'XVIEW'. This view has a simple sql & join which is based on two tables XTABLE1 and XTABLE2.
    Now, the new version of the schema that has got released has split XTABLE2 into 50 different tables each having a same structure. To the fix the issue, there are two solutions I could think of:
    1. Create 50 views on top of 50 tables, and fix the Application to refer to these 50 new views; note: the application has hundreds of references and this has a significant work involved.
    2. Rewrite XVIEW to refer to 50 tables. This will avoid changing the application, however I'm not sure if this is feasible and will have a decent performance.
    I would like to go for solution 2 as it involves significantly less effort, but not sure how best i should define the view, single the 50 table structure is the same can I just union all of them?
    Thanks for the help.

    Hi,
    Hozy wrote:
    Frank, thanks for helping me out.
    What you are suggesting is that I should recreate the view XVIEW which does union all (as the rows will be unique) of the 50 tables, however performance will be an issue unless I can create a materialized views.
    What I know of materialized views is that it's used for static, pre-computed type of data. A materialized view is pre-computed; that's what makes it faster. The time and effort spent in doing the UNION is shifted from the time when you do the queries to the time when you refresh the materialized view. Whether that is more or less total time depends on how often you query the view, and how often you refresh it. At any rate, the performance when you do the queries will be as good as possible.
    Materialized views ar often used in data wharehouses, where then data may only change once a month, but they are also often used in situations like yours, where the data changes every day, or even more frequently.
    In my case, the data in few of the 50 tables might change once every 24hrs and it all comes at one time. The queries that hit XVIEW should get the latest data. Is there a way I can define a materialized view which will pick up the new data in the base 50 tables?I see; you have some job that runs at, say, 2:00 am every morning, and changes some, or maybe all, of the 50 tables. You might refresh the materialized view at, say, 4:00 am every day, or at some time when you're sure that the changes to the base tables are complete. Any query that uses the materialized view between 2:00 and 4:00 am will get stale data.
    You could, alternatively, make the materilaized view refresh whenever any of the base tables change, but this uses more resources, including your time and effort setting it up.

  • What is maximum number of tables that can be used to create HTMLDB app?

    What is the maximum number of tables that can be used to create an HTMLDB app? There seems to be a 10-table limit?
    Thanks.
    Dianna Gibbs

    I have over 200 photos in my book and it was accepted. There is a limit on each widget though. The interactive widget seems to have a limit of around 30 or 40.

Maybe you are looking for

  • Data is not updated to Infocube (BI 7.0) when i load from flat file

    Hi Experts,                when I try to load data from flat file to Infocube (BI 7.0) with full or Delta, I am gettin following errors. 1) Error while updating to data target,  message No: RSBK241 2) Processed with Errors,  Message No: RSBK 257. Til

  • Smart album using keyword not working

    I'm creating smart albums using keywords. Today I created two smart albums tagging select photos with key words. One album has worked correctly, the other album is empty, showing only black background. I've confirmed photos are tagged with the one ke

  • My Samsung CLP300N has stopped printing after 10.6.5 update

    The Samsung CLP300N printer, connected to the network as an IPP printer, does not print anymore from my iMac after upgrading Mac OS X to 10.6.5. The printer doesn't work even in the parallels windows XP virtual machine. The error reported in the cons

  • ITunes Match & Keeping Separate Playlists Across Devices

    I use iTunes Match on my iMac and my wife's iPad. I don't want her radio stations or playlists deleting mine and vice versa. How do I fix this short of turning off iTunes match and manually putting songs on her iPad?

  • Sharing Applications between User Accounts

    Have just bought a new iMac having used windows based PC's etc....QU: I recently installed MSN Messenger whenlogged in as me (Administrator) however my wife created a USer Account and she had to re-instal MSN Messenger as it had disappeared from the