How can I show 2 fields in a Listbox ?

In my datatable I have a field "firstname" and a field "lastname". How can I manage to get "firstname lastname" shown in the listbox?

I have not seen any way that creator allows you to do this directly from the query view. However i know of two option that i believe will produce the result that you are looking for.
1. Concatenate the fields from the sql query, for example in MySQL there is a function "concat" that allows you to display multiple fields (with strings if you like) as one column in the result.
eg: select user_id, concat(firstname," ",lastname) from users
the above works in mysql and i believe that there would be an equivilant function in other databases as well.
2. Use a programming code to reset the text in the options array/arraylist that is used to populate the listbox. This solution however takes away from the nice drag and drop features that i love about creator.
hope this helps

Similar Messages

  • How can we show data in rows when it is in Columns........

    I have strucked with a simple but a complex problem.
    I have a Report with data in vertical rows..need of the hour is how can we show that data into column structure.
    here is the table sample which i have in Database..
    Location      chrg_type    Effective_date
    xxxxxxx        xxxx          xx-xx
    thhis is the structure in effective date we have several months in it in a single column i want show the effective date or effective month in various columns instead of a single column.
    my required table is....
                                Effective_date     Effective_date
    Location      chrg_type     xx-xx              xx-xx
    xxxxxxx        xxxx          xx-xx
    any tough heads?????

    Hi Sunil,
    Your 1st problem is that you are going to need one more field to accomplish you goal. What type of data do want under your new date columns?
    Anyway, once you have that you need to move on to how to move the data out into columns based on date.
    Try something like this.
    0_Date = IF DATEPART('m',{tbl.Effective_date}) = DATEPART('m',CurrentDate) AND
    DATEPART('yyyy',{tbl.Effective_date}) = DATEPART('yyyy',CurrentDate)
    THEN {tbl.DataField}
    1_Date = IF DATEPART('m',{tbl.Effective_date}) = DATEPART('m',DATEADD('m', -1, CurrentDate)) AND
    DATEPART('yyyy',{tbl.Effective_date}) = DATEPART('yyyy',DATEADD('m', -1, CurrentDate))
    THEN {tbl.DataField}
    2_Date = IF DATEPART('m',{tbl.Effective_date}) = DATEPART('m',DATEADD('m', -2, CurrentDate)) AND
    DATEPART('yyyy',{tbl.Effective_date}) = DATEPART('yyyy',DATEADD('m', -2, CurrentDate))
    THEN {tbl.DataField}
    ... Repeat this process until you have all of the columns you need, following this format.
    Hope this works for you,
    Jason

  • How can i show a raise message?

    Hi...
    I am use JDev 11.1.2.0.0
    How can i show a raise message for the user for validations issues
    and after his message the user can't do any thing.
    thanks...

    HI ,
    You can use your entity level validations for this .For this go to your entity object then select the required attribute ,now at the bottom of the page validation rules for that attribute is given just click on that ,now you can select the validation that you want and give error handling msg also.
    If you want that user cannot move further without filling that field then you can mark that fields as compulsory by selecting true value at its required field in property inspector.

  • How can I pass field value betwen view in ICWC?

    Hi experts,
    I am new to this BSP programming. I have some requirements to modify standard ICWC in CRM 5.0
    Hope can get some advices and helps here.
    I have added a new field called <status> to context note SEARCHCUSTOMER in BupaSearchB2B view and also the same field name to context note CUSTOMER in BupaCreate view.
    I have added the field into both the HTM views and able to execute thru WebClient. However, I have one problem in passing the <status> value from BupaSearchB2B view  to the BupaCreate view when I click on the 'create' button.
    I do search and saw this thread How can I pass field value beetwen view in IC Web Client? , but i cant figure out how it works.
    Do I need to create the field <status> to context note CUSTOMER in BupaSearchB2B? Currently the context note does not have any attributes.
    Really appreciate for any help.
    Edited by: mervyn tay on Apr 7, 2009 11:42 AM

    solved by myself...
    code in the CREATE_ACCOUNT method.
            ev_entity->set_property( iv_attr_name = 'ZZICNO'
                                     iv_value = lv_icnum1 ).

  • Forms 6.0-- How can I show records in a block in different colours.

    In a multi record block, how can I show few records in one colour and few more in a different colour depending on a condition.

    Use DISPLAY_ITEM.
    This will change the visual attribute of the item in the current(!) record,
    set_item_property changes the attributes of the item in all(!) records.

  • HOw can i show a table(name given in parameters) in a report program

    I made a report in which there is a paremeter asking for a table name ....
    PARAMETERS TBLLE_NAME(10) OBLIGATORY.
    Now when I enter the table namke then how can i show its values....
    HINT:- We have to use fiels symbols....AND THE USER CAN ENTER ANY DDIC TABLE NAME having some records ...........

    You can display the contents of the DB table inputted using ALV.
    Pass the Structure name as the DB table name inputted.
    Use CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE to create the dynamic table of the same structure as the DB table passed.
    Once the above steps are done, the internal table with data can be displayed using ALV.
    Reward points for all helpful answers.
    Thanks,
    Balaji

  • How can I show album art in the mini player when playing songs from a plugged in iPhone?

    How can I show album art in the mini player when playing songs from a plugged in iPhone?
    When I play from my phone and switch to the mini player it's always showing the music notes in the thumbnaill. It'd be nice if it could get album art off of the phone.
    I'm on iTunes version 11.0.4.4

    He @mracole,
    it is very nice that you post a solution to complete the library with artwork for album's that do not have an artwork. Your solution perfectly addresses the problem for assigning artwork, BUT this thread is about CHANGING artwork for albums already uploaded into iTunes Match. Just try to replace for example a blue artwork cover for an album with a red one. If you made it in a simple way (without deleting the album from iTunes Match and local changes on the files with an external ID3-Application or 2 or more iTunes libraries on different Mac's) this is the right place to give a solution. I really tried for hours to change the artwork to make them visible in landscape cover flow mode on my iPhone5. In rare cases I made it, but then the covers sometimes where restored to the old onces - exacly how it is mentioned by Starhawk
    As long as there is no simple way to change the cover of an iTunes Match stored album (you can change title, artist and so on without hitting "update iTunes Match" over all distributed Library on different devices - this date will be synchronized almost instantly) I considered the behaviour from iTunes as BUGGY! For me the local artwork cache (and if there is any iCloud artwork cache - I don't know) do not interfere with iCloud. Even when I delete the whole local cache (album artwork music - everything) I do not manage to change the artwork.
    Regards from Munich, Germany

  • How can i show Bcc in my outgoing emails for Mac Lion 10.7.2

    How can i show Bcc in my outgoing email for Mac Lion 10.7.2  Bcc does not highlite in View.
    Noomee

    Reset the SMC: http://support.apple.com/kb/ht3964
    Should fix just this sort of thing.

  • How can I show a 0% range in the data value label on a bar chart thanks?

    How can I show a 0% range in the data value label on a bar chart thanks?

    I'm not sure what the question is. 
    I know that if you have a bar chart and one of the categories (X-axis) has bar (Y value) equal to 0%, no bar is plotted for that category. Even the addition of a stroke (line) around the bars doesn't make one appear for 0%.  The only automatic way I know of to make it look like there is data in that category is to add the value labels to the bars. Inspector/Chart/Series, select one of the bars on the chart, click on "value labels". Another method that is a workaround is to fudge the number a little in your table so that instead of 0% it is a very small %.  This will get you a thin line on the chart.
    But if your question is about the value labels (the numbers that display on or in the bars) and you are not getting one for a bar that is supposed to be 0%, it probably means your table doesn't actually have a 0% in the corresponding cell. A blank cell in the table will not get a value label.

  • How can I show all missing content in iTunes library?

    How can I show all missing content (ie. show the exclamation mark against each track)? I can restore the missing content but need to know what is missing without running each track.

    One way to identify the broken links in your library is to create this set of playlists:
    Lost & Found playlists
    Create a playlist called Found, select everything in Music and drag it into the Found playlist. Create a smart playlist called Lost matching All the rules Playlist is Music and Playlist is not Found. Your lost tracks will be in this playlist.
    Or use iTunes Folder Watch and enable its option to check for dead tracks on startup.
    tt2

  • How can avoid mandatory fields in data transfer

    hai
    please respond me
    how can avoid mandatory fields in data transfer like bdc

    hi,
    u have to pass values for mandatory fields in bdc method, u have to prepare u r bdc data such a way that all the mandatory fields are filled, other wise it will give error

  • Reg:How can we show non valuated stock in the system for the paid items?

    Hi All,
    Customer orders 100 boxes and pays to all material.But customers  are shipped the  required material as and when required.My client requirement is these 100 boxes should show as non valuated stock.
    How can we show these paid 100 boxes of material as non valuated stock in the sap? Is this functionality available in sap or it comes under requirement?
    Ex:Customer X ordered 100 boxes and he paid to all quantity.
         The customer X does not have space at his premises to keep the stock of 100 boxes.He just requests 20 boxes every monday or required quantity.Then company ships the required quantity to customer X.
    Now the requirement is that these 100 boxes should be shown as non valuated stock in the system.This should not used for other customers, should not work ATP functionality for these material quantity.This should show as reserved to this customer X
    could you share any ideas or solutions reg this..
    Thanks in advance,
    Regards....VM
    Edited by: vm on Mar 9, 2009 3:46 PM

    Hi Arnel,
    Thank you for giving valuable points.
    In consignment scenario,the stock is available at customer place not at company place.But ownership is company itself.
    But in this scenario,Customer is not having space to keep the total ordered quianty.So cutomer stock should be kept at company itself,customer requests the required quantity(for which he  already paid  for the total ordered quantity) as and when required.How can it suits in this scenario?Could you plz calirfy the debit memo to realize sales ?How it will be help ful?
    Thanks and regards...VM
    Edited by: vm on Mar 10, 2009 9:19 AM

  • How can I show text sentence on XY graph

    Hello,,,, anyone knows??? How can I show text sentence on XY graph?
    I just know that the only numeric data type can be the input data but my case I have both the number and message to show on the same graph.
    Thanks in advance
    Mannie

    You start out with an array of zero size. Since replace array subset does not change the size of an array, you stay with zero annotations. If nothing is there, you cannot replace it.
    Possible solutions:
    (A) Instead of reading the current annotation list (which is zero!), you could initialize the shift register with a diagram constant (right-click...create constant), expand it to the desired number of elements and make them all e.g. with a blank text.
    (B) Alternatively, you can manually create the desired number of annotation by right-clicking on the graph and select "data operations...create annotations". Now you start of with an array of the correct size if you read the annotation list with a property node and you can replace them programmatically with new annotations as desired.
    (C) You can also initialize the shift register with an empty array, then use built array to add annotations.
    LabVIEW Champion . Do more with less code and in less time .

  • How can I show the chart in forms?

    Dear all:
    I want to create a line chart. I use the chart wizard and it is successful to create the chart. But, it can't show the chart when I run the form. How can I show the chart in form6i?
    Besides, I see a document that refer to 'OG.pll'.
    I can't find the OG.pll in form6i. Do I need 'OG.pll' to show the chart when I run the form? Thank you very much!!

    Hi Carlos,
    You can try to create a code node for check which signature to print.
    In global variable declare a variable ie named g_sign type TDOBNAME.
    Then pass this var to name of graphics &g_sign&
    please check and reply.
    regards,

  • How can I show icon Services for Object in PA30 Infotype 0019

    Hi guy.
    How can I show icon Services for Object in PA30 Infotype 0019 ?
    This icon display in some infotype example infotype 0024(Qualifications).But I wanna use in Infotype 0019.
    I don't wanna use menu "Assign facsimile".
    Best regards.
    Chutima.

    Sorry - should have said I'm using JDev 10.1.3.0.4 with JSF & ADF BC.

  • How can i show a form Screen Short

    How can i show a Screen Short on Oracle Forms threads.
    i mean i want to send a visuable form error on the forms plz help me. print screen does not work here.

    Hello,
    use the img html balises. in the following example, replace ( by < and ) by >
    (img src="the_source_name_of_your_image")
    Francois

Maybe you are looking for

  • How to install and use a client certificate for use with https sites on Android?

    I need to be able to install a .p12 client side certificate to be sent to the admin section of my company's site to authenticate me as an employee. In FireFox for PC there is the ability to install this client certificate. In the mobile I cannot figu

  • Unexpected Results Query of Queries

    assume you have a query named q1 with more than 1 record. What would expect to q2 to look like? <cfquery name="q2" dbtype="query"> select count(*) as abc from q1 where 1 = 2 </cfquery> If you run it, were your expections met? Mine certainly were not.

  • Wince 6.0 image for software mfgtool

    HI, My problem is download the wince 6.0 image with the software Freescale Mfgtool . But if I download the wince image with the platfom builder, then download the wince image with Mfgtool. The download is OK. The Software mfgtool download the wince i

  • Union select as cursor in procedure

    Hi! With ref. to an earlier post from Sept. 11, 2009, I am facing the following problem: In my procedure I have this statement as a cursor: SELECT a.carrier_code, a.flight_no, a.from_city, a.origin, a.dept_time, a.to_city, a.destination, a.arr_time,

  • I get a printer error every time I try to print from Pages 5.2

    Over the past few days whenever I try to print from Pages, I get a printer error (on the printer) and it won't print. Pages is version 5.2 and I am printing from an iMac (2009) with Mavericks to an HP Laserjet. I am not the only one in my office to h