Concat in unbound item

Hello,
I need a concatenation of 2 names and I don't get it to work properly...
As Unbound Type i have SQL Expression and for Derivation Expression there is L_FWR_ACHTERNAAM||' '||L_FWR_ROEPNAAM
I also tried this with the function concat() itself but this result in the same problem. When I try to generate the module I have the error message:
CDG-01061 ERROR: Unbound Item OIFF0420301.ILD.FWR_NAAM: Invalid derivation expression 'L_FWR_ACHTERNAAM||' '||L_FWR_ROEPNAAM' for this item's type
Anyone who knows what to do?
Sofie

Hi Sofie,
I think you can't do that on a lookup column usage, because these fields are filled using a post-query trigger (and using a SQL Expression it should be part of the main block query). Try using a 'client side function' or create a function in the database that will return the "fwr_naam" using the "fwr_id" and call that function in the SQL Expression - using only columns from the 'main' table usage.
HTH
Roel

Similar Messages

  • Is it possible to order by an Unbound Item?

    I have a block in my module that requires the records to be ordered by one of its Unbound Items. I have tried using the Order By Sequence property but this seems to be ignored when the module is generated.
    Any help would be gratefully received.
    Cheers,
    Joel

    To my knowledge it isn't possible the way you try to achieve it, because these unbound items are populated 'post query'. What you can do is create a (database) function that returns the value of your unbound item and use this in the the 'Where/Validation property' of the table usage (enter 1=1 before the order by).
    Example:
    1=1
    order by (PRF_CURRENT - PRF_MINIMAL) desc
    (in this example I order the block on the difference between two fields, depending on your situation you can do something similar of use a database function instead)
    HTH
    Roel

  • Query with criteria in unbound item

    Hi,
    I have a block (master) related to another block (detail). I'd like to narrow the returned results by adding a criteria in an unbound item in the master block.
    The value in the unbound item seemed to be ignored when I execute the query.
    How can I add a criteria for my query ?
    Thank you...

    If it's a simple value then add in a pre-query trigger onto the detail block with something like :
    begin
    if :control.my_unbound_item is not null then
    :detail.the_item := :control.unbound_item;
    end if;
    end;
    If you need something more sophisticated then post an example of what you'd like to do.
    Regards,
    Steve

  • Using unbounded item value for rendering expression in a region

    Hi there,
    I use jheadstart 11g tp2.
    I have a question about a group in application definition module which all of the items are unbounded.
    For 3 of them I use text input lov which related to lov that is bounded to a view.
    I use the return value of the lov for filling unbounded items and I want to use that filled unbounded item for rendering expression of a region.
    my problem is after using lov I can't use the binding value of the unbound item (which filled by returning value from lov) for another part of the the group
    I have a region that should be visible and invisible based on that item
    Please let me know is there anyway for doing this or not?
    Thanks for your help
    Setareh Rajaei

    the unbound item has a variable binding in the page def, so you can refer to the value of the unbound item using the expression
    #{bindings.[groupName][itemName].inputValue}
    Steven Davelaar,
    Jheadstart Team.

  • Map unbound items to db columns??

    In designer 6i how do I map an unbound item that calls a function to a db column?
    I checked out the help in Designer and it was no help. This is what it said....
    1. Select one or more unbound items.
    2. From the Select Binding for Unbound Items dialog box, use the Column dropdown lists to identify the database column to which each unbound item will be mapped.
    Well, what is a 'select binding'? I looked in the properties pallete and the dialog and there was nothing there.
    Any help would be greatly appreciated.
    Maggie

    Hi,
    Have u tried:
    inserting/updating the values in database and then refreshing the block by using the same way as u used to populate the block?
    Regards,
    Pragati.

  • Generation of Unbound Items

    Hi,
    I have a module component that have some unbound items.
    I tried to adjust the generated item "Maximum Length" property to a given number by changing the "Domain" property (in Definition section of item properties wizard) of the unbound item to one of domains I created. As a result, the domain was not effective. The generated item still has the default "Maximum Length" property value.
    Can anybody tell me why this is happening? What is the role of "Domain" property in unbound items definition?
    Notice that I decided not to use the Object Library component to solve this problem because I think it is unpractical way to adjust properties of item that are generated from unbound items.
    I'm using Designer version 10.1.2.0.2.
    Best regards

    Thank you for reply.
    How can I adjust "Maximum Length" of the generated item in the generated FMB file if the source of this item in Designer is an unbound item?
    Usually this length is taken from server model for generated bound items, but unbound items has no reference to server model. I understood that we can adjust domain property for this unbound item to inherit domain properties when generating form, and thus, set the length of the corresponding generated item.
    This what I expected, but it didn't happen.
    If you can help me I will be very appreciating.
    Thanks

  • Date Format Mask On Unbound Item

    Hello everyone!
    I have a module with some unbound items. One of them is date_completed. I gave the item datatype DATE and formatmask "DD-MM-RRRR". But in the application, when I type 290108, I get FRM-50026 "date must be entered like : DD-MM-YYYY.
    But I gave the item a format mask!
    Can somebody help me?

    But I gave the item a format mask!Then enter it in the format mask and not as a number
    It is doing exactly what you are telling it to do
    Nicolette

  • Unbound item in mutli records block

    Hi,
    is it possible to have an unbound item in a block with 4 rows to be displayed only 1 time instead af 4 like a computed item ?
    Thanks
    Jean-Yves

    Set the context-property of the items that you want to display multiple times to Yes, the context property of the unbound item to No (and change te order of the items, so the unbound item is the last one). Set the block property 'Overflow' to Overflow Below (or Right whatever you prefer).
    That should do the trick...

  • When form is generated unbound items always have maxlength=2000

    When form is generated unbound items always have maxlength=2000
    When generating forms in Designer using the Headstart templates & libraries any unbound items when viewed in Form Builder have a maxlength=2000. The width property specified in Designer for each unbound item is ignored. The item max length is subclassed from the object library setting CGSO$DEFAULT_ITEM. Can anyone tell me why this happens and any known workarounds.
    Thank You
    Eoin Smyth

    It sounds like a problem with Designer. What release are you using? The object CGSO$DEFAULT_ITEM has width = 2000 in the object library for Headstart. However, Designer should be overriding that value with the value from the repository. Please submit this same question on the Designer discussion forum and see if anyone there has experienced it. Be sure to mention which version of Designer you are using.
    Regards,
    Lauri

  • Have a multirecord block with several unbound items, filled by calling just

    In oracle forms I have a form with a multi-record block, with several unbound items.
    One of these unbound items is a formula based item.
    The formula for this item fills the others unbound items.
    A procedure with several out parameters is called.
    E.g.
    :cmr.id (holding the unique id of a database record)
    :cmr.unbound_dummy, with formula f_fill_blk_unbound_items(:blk.id)
    :cmr.unbound_adres
    :cmr.unbound_contactperson
    function f_fill_blk_unbound_items(p_id in customers.id%type)
    return number
    is
    l_rc number;
    begin
    customer_pck.get_adres_and_contactperson
    (p_id => p_id --IN
    ,p_adres => :cmr.unbound_adres --OUT
    ,p_contactperson => :cmr.unbound_contactperson --OUT
    return(0);
    end;
    QUESTION: how can I do something similar in APEX; have a multirecord block with several unbound items, filled by calling just one procedure with several out parameters ?

    Thank you for your reply.
    I can write database functions as wrappers, one for each out parameter, and use these in a select.
    But:
    - having one procedure with several out parameters was done for performance reasons.
    - I want to leave my database as is, and just replace the client.
    Easy as this is using Oracle developer forms, I cannot find out how to do this in any of the APEX examples/documentation.

  • Getting the index of an unbounded item

    Hi there,
    How can i get the index of an unbounded item in an incoming record set message?
    For example, suppose my message looks like this:
    <Root>
    <Record>item_1</Record>
    <Record>item_2</Record>
    <Record>Item_X</Record>
    </Root>
    And i want to know the index of "Item_X" while mapping
    Thanks,
    Yigal.

    Just create a UDF of type queue. The input of UDF is the node you want to access (in your example, Record).
    In the code, use somehing like:
    for (int i=0; i< a.length; i++) {
      <insert logic here>
    And inside the for loop, you can implement the desired logic, and the variable i will have the index of your node (actually it will have index - 1, since its from 0 until a.length-1 ).
    Regards,
    Henrique.

  • Passing unbound items via pages

    Hi dear readers
    I want to pass value of some unbound items to another page by query string or via managed bean but i dont know how?
    please help
    best regards
    Edited by: mohba on Sep 23, 2008 3:10 AM

    Hi,
    Then you can use a ValueChangeListener method implemented in a backing bean to retrieve the new value and store this in the sessionScope or processScope or perhaps a property of a session-scoped managed bean, which can be queried in a different page.
    Regards,
    Ibrahim

  • [b]URGENT : unbound items in LOV[/b]

    Hi,
    In my module component I have a table usage and one lookup. Also I have 2 unbound items in this module component. So the probleme is : I would like to put /select this unbound items in LOV that I us in this module, how I can do this????
    Thanks lot

    You don't mention the version of Designer you are working with. In both Designer 6i and 9i, in the Design Editor, you can create separate LOV and associate these with an item in your module component. These can have their own base table usages and lookup table usages and you can create and use unbound items. See the help on unbound items or LOV in the Design Editor.
    You can't use the unbound items in your module component in your LOV, you will need to create new ones for your LOV.
    Regards
    Sue

  • Web services and unbounded item

    Hi all,
    I'm not able to invoke web services in WD application when there are items with maxOccurs set to unbounded.
    The error is:
    com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Array Property [car] in class [none] must not have NULL elements. This is restricted by schema description.
    In this case item "car" is set in wsdl as
    <xsd:element name="car" minOccurs="0" maxOccurs="unbounded">
    Any ideas?
    thanks
    Andrea

    hi, i�m doing something like you but in jbuilder that is another IDE, i don�t know if it is useful for you but i entered to the help of jbuilder and i wrote in the index "web services" and then i found a topic called : "export classes as webservices" and in that place i can see some steps to follow, may be in eclipse you can find something like this.

  • Generating unbound multi-line items of type long?

    I'm trying to generate a form containing an unbound item with datatype long which I'd like to have multi-line. Is this possible using Headstart without adding an entry to the Headstart Object library?
    I tried to use CGSO$LONG, but that won't make it multiline. It also means I have to add "Ofgstnd1.olb" to my list of object-libraries to use in the preferences which seems to override the headstart obj.library on many items.... Does anybody have any suggestions??
    Greetz,
    Tim

    You could create a custom object library which contains only the 'long' item. Then in qms65_recommended, edit the STOOLB preference and add your custom library, using the ';' as a separator.
    Regards,
    Lauri

Maybe you are looking for