Two types of Checkbox

Hi,
Could someone please tell me the difference between the following.
1.Check boxes as an item you can choose as a Display As.
2.Check boxes constructed using HTMLDB_ITEM.CHECKBOX
I can get the HTMLDB_ITEM.CHECKBOX to work but am having much trouble finding any information on how to use the item display as check box.
Cheers
Ben

Hello Ben,
Check boxes as an item can be used in a form, just like any other APEX item - http://download-uk.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32471/bldapp.htm#sthref1031 . You can create static checkbox item, based on a static LOV, or you can create a dynamic checkbox item, based on a query. The returned value of this item is a colon delimited string of all the checked values. The following will give you some more information and examples on that - http://download-uk.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32469/check_box.htm#CHDDFBFH .
The APEX_ITEM API allows you to dynamically create APEX items as part of a report query.
Regards,
Arie.

Similar Messages

  • How to use two types of fonts in a richtextdocument

    hello,
           i want to print a barcode and some text into  a richtextdocument
    example:
    this.richTextBox1.AppendText("\n");
    Font f1 = new Font("3 of 9 Barcode", 50);
    this.richTextBox1.Font = f1;
    this.richTextBox1.AppendText("*1234554*");
    Font f2 = new Font("Arial", 20);
    this.richTextBox1.Font = f2;
    this.richTextBox1.AppendText("fooo");
    but it always uses the second one?
    how can i resolve this?
    i want to use two types of fonts in the same rich text document.
    thank you very much!!

    Select some text and then set the SelectionFont property for each selection, e.g.:
    this.richTextBox1.AppendText("\n");
    this.richTextBox1.AppendText("*1234554*");
    richTextBox1.SelectionStart = 1;
    richTextBox1.SelectionLength = 9; //End of first word
    richTextBox1.SelectionFont = new System.Drawing.Font("Tahoma", 10);
    this.richTextBox1.AppendText("fooo");
    richTextBox1.SelectionStart = 10;
    richTextBox1.SelectionLength = 4;
    richTextBox1.SelectionFont = new System.Drawing.Font("Arial", 20);
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question.

  • Are there two type of associations between objects or are there just different representations?

    I've been spending some time on 're-tuning' some of my OOP understanding, and I've come up against a concept that is confusing me.
    Lets say I have two objects. A user object
    and an account object.
    Back to basics here, but each object has state, behaviour and identity (often referred to as an entity object).
    The user object
    manages behaviour purely associated with a user, for example we could have a login(credentials) method
    that returns if successfully logged in or throws exception if not.
    The account object
    manages behaviour purely associated with a users account. For example we could have a method checkActive() that checks if the account is active. The account object checks if the account has an up-to-date subscription, checks if there are any admin flags added
    which would make it inactive. It returns if checks pass, or throws exception if not.
    Now here lies my problem. There is clearly a relationship between user and account,
    but I feel that there are actually two TYPES of association to consider. One that is data driven (exists only in the data/state of the objects and the database) and one that is behaviour driven (represents an object call to methods of the associated object).
    Data Driven Association
    In the example I have presented, there is clearly a data association between user and account.
    In a database schema we could have the following table:
    USER_ACCOUNTS
    id
    user_id
    When we instantiate the account and
    load the database data into it, there will be a class variable containing user_id.
    In essence, the account object
    holds an integer representation of user through user_id
    Behaviour Driven Association
    Behaviour driven associations are really the dependencies of an object. If object A calls methods on object B there is an association going from A to B. A holds an object representation of B.
    In my example case, neither the user object
    nor the account object
    depend on each other to perform their tasks i.e. neither object calls methods on the other object. There is therefore no behaviour driven association between the two and neither object holds an object reference to the other.
    Question
    Is the case I presented purely a case of entity representation? The association between user and account is
    always present, but its being represented in different ways?
    ie. the user entity
    has an identity that can be represented in different forms. It can be represented as an object (the instantiated user object)
    or as a unique integer from the users table in the databases.
    Is this a formalised way of recognising different implementations of associations or have I completely lost my mind?
    One thing that bugs me is how would I describe the differences in UML or similar? Or is it just an implementation detail?

    It s a bit hard to fully understand what is problem actually in :). I think you are a bit mixing some concepts.
    Entities representation
    At first, all models we are implementing is just a simplification of some real-world objects and environment. Your conceptual entity user corresponds to some real user and contains some attributes we are intresteing in according to application needs. Thus there
    are some models we have to implement.
    Thus, all user defined by DB schema, user defined by class, and probably user defined by some presentation logic is normally present some real-world user. It is only about implementation purposes, we have to store, view and manipulate with user.
    On the other hand let's take a look on Single Responsibility Principle. It tells us to use every class or program unit just for certain needs. Using single user (class or program unit) for storage and presentation needs violates this principles.
    the user entity has an identity that can be represented in different forms. It can be represented as an object (the instantiated user object) or as a unique integer from the users table in the
    databases.
    So, the answer is yes.
    Associations and dependencies
    I think it is more about terminology than about nature of problem. But in general you are right - there are different types of object realtions (especially, I will use other terms to list it). For example "referencing", "creation", "using",
    "coordinating", "storing", "inheriting" (!) ....
    According to this, user instance references account instance. And A instance uses B instance.
    For most cases it is good enough to distinguish just "referencing" and "using". It is what you've just written. It's enough common and abstract to be understood by other person when talking about domain, e.g.
    But sometimes, to emphasize some aspects you should describe relations in a way like "A dispatches ensemble of Bs" or "R stores X to database". It's more applicable for specification and modelling.
    Is this a formalised way of recognising different implementations of associations or have I completely lost my mind?
    To call something formalized I suggest to look at UML.
    UML and other modelling instruments
    One thing that bugs me is how would I describe the differences in UML or similar? Or is it just an implementation detail?
    There are a lot of UML models (diagrams). Let's take a look at most well-known - Classes and Objects Diagram.
    It's interesting that UML allows to present all type of object relations, and moreover allows to decide "is it just an implementation detail".
    Martin Fowler describes 3 levels (or point of views) of understanding of Classes Diagram.
    Conceptual. Diagram is considered as high-level domain model, independent from implementation.
    Specification. Diagram is considered as high-level realization model containing of interfaces.
    Implementation. Diagram is considered as low-level technical paper containing interfaces, classes, references, other types of relations.
    Is this a formalised way of recognising different implementations of associations or have I completely lost my mind?
    Yes, you have to fix some point of view and choose appropriate relations set.
    For example, let's take a look at Classes Diagram and consider it from an implementation point of view. UML defines 3 type of relations (and propose corresponding means to its designation):
    Association
    Association corresponds "referencing" between instances.
    Dependency
    Dependency combines all types of relations such as "using", "creating", "storing", etc.
    Inheritance.
    Inheritances as a fundamental OOP instrument is presented by UML in a distinct way. It's more about classes than about instances, but also one can say that A instance inherit attributes of B instance. So, that's ok.
    First and second points of view on Class Diagram, as I remember uses only one type of relation unifying both associations and dependencies and is designated like association (no inheritance, of course).
    Also, UML proposes Objects Diagram which is same to Classes Diagram, but fits better for runtime modelling needs.
    Finally, a choice of a set of relations taken into consideration depends on a context and point of view. UML provides some ones.

  • Can we capture two types of Serial Numbers for a material?

    Hi,
    I have scenario where i need to capture two different types of serial numbers for a material. This scenario is very similar to the below one -
    Say if a CAR is a serialized material, then i want to capture engine no. and chasis no. for each car.
    I know in standard serial number management, we can capture one kind of serial no. for an item, but can we capture two types of serial number for an item? If yes, how we can do that?
    Please help.
    Thanks,
    Parimal.

    Hi,
    No it is not possible to have two serial numbers for a material.
    The main attribute of a serial number is that it is UNIQUE.
    You can better have the vehicle number as the required serial number and the other numbers under the Manufacturer data of the General data tab of the IQ01 transaction. ( Equipment master creation ).
    You can better change the name of the manufacturer data such as Model number to Engine numeber and Manu serial no to Chasis no etc.., using CMOD transactions.
    Regards

  • Propagation between two type raw  queues

    Good day.
    I want to enable propagation between two type raw queues -
    according to documentation:
    http://www.stanford.edu/dept/itss/docs/oracle/10gR2/server.102/b14257/aq_intro.htm#CHDCEFBD -
    "+Propagation of Messages with LOBs+
    +Large Objects can be propagated using Oracle Streams AQ using two methods:+
    +* Propagation from RAW queues+
    +* Propagation from object queues with LOB attributes+"
    My example:
    begin
    DBMS_AQADM.create_queue_table(queue_table => 'SRC1_QT',queue_payload_type => 'RAW',multiple_consumers => true);
    end;
    begin
    DBMS_AQADM.create_queue(queue_name => 'SRC1_Q',queue_table => 'SRC1_QT');
    end;
    begin
    DBMS_AQADM.create_queue(queue_name => 'DST1_Q',queue_table => 'SRC1_QT');
    end;
    begin
    DBMS_AQADM.start_queue(queue_name => 'SRC1_Q');
    end;
    begin
    DBMS_AQADM.start_queue(queue_name => 'DST1_Q');
    end;
    declare
    c number;
    begin
    dbms_aqadm.verify_queue_types(src_queue_name => 'SRC1_Q',dest_queue_name => 'DST1_Q',rc => c);
    dbms_output.put_line(c);
    end;
    Last PL/SQL block returns
    VQT: new style queue
    +0+
    Does it means that queues incompatible?

    Yes, it works - and I think dbms_aqadm.verify_queue_types shows wrong answer:
    DECLARE
    subscriber sys.aq$_agent;
    BEGIN
    subscriber := sys.aq$_agent('SRC1_SUBS', 'DST1_Q', NULL);
    DBMS_AQADM.ADD_SUBSCRIBER(queue_name => 'SRC1_Q',
    subscriber => subscriber);
    END;
    begin
    dbms_aqadm.schedule_propagation(queue_name => 'SRC1_Q');
    end;
    DECLARE
    enqueue_options     dbms_aq.enqueue_options_t;
    message_properties  dbms_aq.message_properties_t;
    message_handle      RAW(16);
    message             RAW(10000);
    BEGIN
    for i in 1..100 loop
    message :=  utl_raw.cast_to_raw(to_char(i));
    dbms_aq.enqueue(queue_name => 'SRC1_Q',
    enqueue_options      => enqueue_options,
    message_properties   => message_properties,
    payload              => message,
    msgid                => message_handle);
    end loop;
    COMMIT;
    END;
    select QUEUE,MSG_STATE,COUNT(*) from AQ$SRC1_QT T group by QUEUE,MSG_STATE
    QUEUE      MSG_STATE      COUNT(*)
    DST1_Q     READY           100
    SRC1_Q     PROCESSED       100
    Edited by: i.k. on 10.05.2011 10:49
    Edited by: i.k. on 10.05.2011 10:50

  • Why do I get downloads installed with two types, Ex. photoshop CC as well as photoshop CC (2014)

    why do I get downloads installed with two types, Ex. photoshop CC as well as photoshop CC (2014)

    http://blogs.adobe.com/jkost/2014/06/installing-the-2014-release-of-creative-cloud.html
    This messages says (at least some) CC 2014 programs use NEW plugins https://forums.adobe.com/thread/1499663
    -so do not uninstall the older CC programs if you use plugins in your programs until you are sure you have plugins that work in CC2014
    If you are sure you don't need the old CC programs
    -http://helpx.adobe.com/creative-cloud/help/install-apps.html to install or uninstall
    -read reply #3 about the ORDER of uninstalling & installing https://forums.adobe.com/thread/1242671

  • Two types of taxs of one item

    Hi Experts:
       I face one problem of posting tax.
       In some cases of our business,there r two types of taxes in one item. First one is paid by customer and another is paid by our company.
       We want to generate the accounting document like that:
       DR: customer AR
       CR: SALES REVENUE
           OUT PUT TAX PAID BY CUSTOMER
       DR: EXPENSE Account
       CR: Tax paid by us
       Can I do it like this? If possible, how can I configure it?
    Thanks and Best Regards
    David Wang

    Hello,
    Discuss with your finance team
    Thanks
    RK

  • Reg.  comparison of two types of Internal tables.

    Hi friends!
        I have a doubt while declaring a internal table. whether to declare with header line or without header line. Can all types of manipulations be done after retrieving data from DB table to the Inernal table with headerline. Which of these two is more efficient. I would like to know the clear comparison between these two types.
    regards,
    prasad

    Hi,
    Incase of declaring an Internal table with header line will make the processing looks simple as with in a loop and endloop statement your internal manipulations namely AT NEW, AT LAST, COLLECT and other similar statements will work out, but still clearing of the respective header needs to be done whenever there is exit happens to the application after successful completion. As because I have encountered errors due to failure in clearing header as in case of batch applications and BDC applications. Also as mentioned memory  management also needs to be considered.
    Incase of declaring with work area except for the internal manipulations being pointed above, for all other cases it works out effectively and also more safer way to code your application.
    Also the declaration with or without header line also accounts whenever there is a call to a function module at which if we require to receive or pass some data through TABLES option then we need to look for the specified table type being used.
    So in all it depends the process in your application where in the type of declaration accounts.
    Regards,
    Jagath.

  • Multidimensional arrays - two types

    Hi,
    Im just thinking about a app I have to write, I need to get two lists of integer values with a name string that you can get the value through.
    I was thinking of using a two dimensional array of the first "column" being of integers and the second being a string. But I am sure that you cant actually have and array where two types are used. How do you get round this.
    I have looked at a hashTable but you cant sort it by the value of the integer (I need two of these to compare them by the order they are sorted).
    Any thoughts would be greatly appreciated ?
    p.s. Im not looking for any code or anything just what data structure to use and possible how to initialise it if it is possible

    How about creating a class that has the integer and the string as attributes and then either make them public so you can access them directly (a la a "C" struct) or create simple get/set methods for manipulating them? Then you could create an array (or vector, or what have you) of these objects.
    Hope that helps.
    -N9ski

  • Two types of outputs for goods receipt

    Dear all guru,
    we are making GR for suppose 5 items.
    and here we are printing GR document for store record with having all 5 items in single document.
    and also we need to take additional printout for 5 items seperately for GR Tag for keeping with material lot.
    so we need 6 print outs.
    Pl guide me how to use two output types and one is based on collective and one is individually for each item.
    Regards,
    Vimlesh

    Tricky one!!
    I belive you can controll it by using the appropriate Output type for eg:
    Output type WE03 is for all line items in an GR document.
    Output type WE01 is for seperate line item in GR documnt.
    The issue is you can mantain only one output type at a time.
    The general solution would be mantain WE03 as default output type and later for seperate line item print out go to MB02 and change the output type to WE01 and save it and process the output using MB90 with refrence to Material document.
    For other customized solution need to be coded for the output determination procedure, get help from your ABAPER. A customised hard coded routine need to be insert in the procedure for the output type you want to use.
    Hope it helps..
    Regards,
    Sujoy

  • Two types of Exchange Rate to be configured

    Hi Friends,
    We need to configure another type of Exchange Rate in the system, i.e. two different types of rates - one for Accounts Payable and another one for Accounts Receivable. Could anyone please advise how can we configure the same in the system.
    Thanks, would appreciate help for the same.
    Regards

    Hi,
    You can very well configure in OB07.
    In fact, most of the business scenarios use buying rate and selling rate for these scenarios.
    You can also update ER to be defaulted in document type configuration OBA7.
    Best Regards,
    Madhu

  • Two types of wifi authentication on 871w

    Hi.
    I have a small wireless network, which consists of three AP1121G with c1100-k9w7-mx.123-8.JEB1 ios and one 871w with c870-advipservicesk9-mz.124-24.T1.  I've configured two different ssid's with individual authorisation types - ssid_1 with eap, ssid_2 with wpa. All three ap's works as it should be, but 871w authorises only eap connections, and all other types are rejected
    What can cause this problem and is there any way to fix it?
    Thanks.

    When i'm connecting to SSID_1 network with eap my login/password is successfully accepted, but when i'm trying to connect to SSID_2 my wpa key is rejected like i'm entering it wrong. And all i have in logs is "%DOT11-7-AUTH_FAILED: Station Authentication failed".
    Is there any debug command, that can show me what am i sending and why it is  rejected?

  • Help! converting two types of video into one format so I can edit

    Right Folks, go easy because I’m a novice.
    I’m having major problems getting two different types of video to work together in final cut pro 7.
    I’ve recorded something with two different HD cameras and I’m totally aware I need to convert them to the same format so I can begin to edit them. I’ve got Mpeg stream clip, could anybody help me convert them?

    Hi Dave, one of the cameras I have is Sanyo Xacti VPC-CG10 this shoots onto 16GB SDHC class 2, to work this in final cut I'm aware I have to compress using Apple ProRes 422 Codec which works fine.
    The other Camera is a panasonic I have shoots on SDHC Class 6 cards and I usually compress at HDV 720P 25fps. which also works fine.
    I can edit both individually, the latter, the panasonic camera is simple to capture and edit and is the camera I use the most but on this particular shoot I need to use both together.
    So I think its the Sanyo that's causing me the problem.

  • Fgv with two types of variables

    it goes something like this
    i want the FGV to have a cluster of two 1D arrays of double (that will be the FGV variable). and the data that i'm "adding" is a double number/constant (whatever), this will be the added variable.
    the main idea is that i want to be able to select to which one of the two i'm adding the additional number and i think it's pretty easy to accomplish with case structure and a simple boolean control (reference), that is what i've done.
    the problem is that if i don't connect anything to the shift register of the FGV labview doesn't recognize it as the FGV variable i've described and if i do, it's an additional input which i don't want to use later.
    in theory, i can make my additional variable to also be a cluster with two 1D arrays of type double within, however, since my input consists of only one number, i'm not sure how to accomplish it.
    thanks in advance.
    it would be good to know if something like this is even possible. (first option)
    Solved!
    Go to Solution.

    I'm not sure what you are looking for.  Something like this?
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Two Array FGV.png ‏15 KB

  • What is the difference between these two type defs?

    One gives a coercion dot, I have checked and they are both the same representation (U16)
    Solved!
    Go to Solution.
    Attachments:
    coerce.png ‏12 KB

    Hmmmm...
    Given only that image, I'll venture that they are simply two different type defs with the input (assuming both VIs are the same) being defined by the top version while the bottom is just similar. Going on that theory, the coecion is just telling us they are differnt in the event the actual definition may be diferent.
    A quick look at the VI hiarchy while showing the type defs should help rule out my theory.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

Maybe you are looking for

  • Search boxes are not displaying properly on sites (eztv and isohunt for example) the search buttons are there, the imput boxes are not.

    I have been noticing on various sites that search boxes are not being displayed, seems to be happening on torrent sites but it could be more widespread. I have disabled all add ons, running Firefox 4 beta on Windows 7 x64. I have linked some screen c

  • XSQL-022 error

    Hi, I try to create a pdf with the xsql -servlet (v1.0.4) and FOP 0.14. When I don't use the serializer="FOP" in my <?xml-stylesheet?> processing instruction, I get an XML-file with <fo-root> as the root-element. Looks fine. When I include the serial

  • 201 Movement type

    Hi, while doing good issue via Mb1a we met the f"Fld selectn for mvmt type 201 / acct 417000 differs for Vendor goods movement (014) Regards, Renuga.A

  • Shared Content feature for InDesign ?

    So, I noticed that another application, that I won't mention the name of, has this cool feature called "Shared Content" http://www.quark.com/products/xpress/features_shared.html Does anyone know if there are any extensions, plugins, etc that might ac

  • Please help...i have a windows 2012 server and it keeps closing after 30 mins...

    hi. i have a windows 2012 server and it keeps closing after 30 mins...i am connected thru RDP and have looked everywhere online for a tutorial to change the setting that keeps closing it but can't find it anywhere! please help!