How to make a list with the DB control

Hello

I need fill a listbox using the dbcontrol, I saw how to define a textBox control with a recordset from the database by making a custom_query and call it through java script, example:

infra_custom. SQL:

Get Prueba_Nak
DESCRIPCIÓN SELECT THE
OF DB_PRUEBA
WHERE CALL_NUMBER =: nCALL_NUMBER

Custom_inCallDetails.js:

function pruebaQueryMuestra() {}
var db = document.all.DB;
DB. ClearParam();
DB. AddParam ("CALL_NUMBER", document.all.CALL_NUMBER.value);
var RS = db. GetRecordSet ("Get Prueba_Nak");
document.all.EXTFLDV_500004.value = RS("DELESDE").value;
document.all.MI_POLLA.value = "HELLO";
}

function customLoad() {}
pruebaQueryMuestra();
}

Well, this work well for complete results, but, if I need more lines for painting, a list, how can I make a loop in a recordset with only one result?

Kind regards

The first thing I would say is that you just use the SU_SELECT_VALUES table & fill if possible through Designer.

If you don't want really dynamically change the menu drop down content based on the number of appeal then you could populate the drop-down list dynamically using JavaScript.

something like...

fill in the parameters...

var r = da. DB. GetRecordset...

If (! r.BOF) r.MoveFirst;
If (r.Fields.Count > 2)
do something here.  There are not enough columns in the query results to populate a drop-down list with a ref and name.
on the other
{
FAL EXTFLDV_500004.options. Length = 0;
While (! r.EOF)
{
Like var = document.createElement ("OPTION");
oOption.value = r("REF").value;
oOption.text = r("NAME").value;
FAL EXTFLDV_500004.options. Add (option);
r.MoveNext;
}
}

Tags: VMware

Similar Questions

  • In Windows Live Movie Maker, how to make a subtitle with the inner different font sizes?

    How to make a subtitle with different font sizes, as in the old Windows Movie Maker?

    I want to produce an effect video, like MTV clips that fade in and out for video (not before or after the video). It of about what I want to produce and could not because the new WLMM seems to have this deleted title feature.

    My song (large)
    Composer (small fonts)

    I want that this block of text fade in and out for my video. Is there a way to do this? Otherwise I would feel obliged to go back to the old WMM.

    FWIW... going back to an older version of Movie Maker
    Maybe the answer. You need to restart your
    because the Live Movie Maker WLMP project project files
    would be not compatible.

    No guarantee but the next for an installable download
    version of Vista Movie Maker 6 may be worth a try

    * Proceed at your own risk *.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Windows Movie Maker Installer for Windows 7
    http://noeld.com/programs.asp?cat=video#wmminst

    Also, Movie Maker 2.6 will work on Windows 7:

    Windows Movie Maker 2.6
    http://www.Microsoft.com/download/en/details.aspx?displaylang=en&id=34
    (this is similar to the version of Win XP Movie Maker 2.1)

  • Does anyone know how to make this box with the price?

    Hello!!

    I do my "wedding site" I am unware of what the "real generals" how call these element.

    I wanted to know if anyone knows if it is possible to make these boxes of price with the amount of padding box below?

    Can you do something like this in MUSE (it seems quite possible) can someone give me a hand or a tutorial on how to do it.

    I thought using some kind of widget or compositions. Thank you very much! Here is the real site to see it in action. His 'Gifts' section http://celebr8with.us/

    Thank you in advance!

    Screen Shot 2014-03-11 at 6.15.53 PM.png

    Hello

    The downs with attributes price drop would require a custom coding on your end, but if you have a plan, then you can use product information at end of sale with the price set by the product itself.

    Something like this:

    http://Muse.Adobe.com/exchange-library/pricing-table

    Thank you

    Sanjit

  • How to make a menu with the button this opening fade?

    I have built a menu animated in AE and had added text that melted by layer layers/buttons > still > create button. Once I have import into Encore through hotlinks I can't connect the buttons in the menu application.  I have added a sample.

    Basically all I want is the feature of game, selection of scene and credits to be selectable after completing discoloration in @ the: 20 mark. I don't want the menu's loop.

    I tried to do a static menu (from the last image in AE) play after that, but there is an a second gap or two before this static menu plays that look just sticky. I tried this in the preview, and it made on a dvd with the same result.

    All the tutorials I've met really does not answer this question either.

    Any help would be appreciated.

    Thank you

    So you're on the right track.

    This departure for a workflow I would try if I did more menus animated.

    http://help.Adobe.com/en_US/encoredvd/4.0/WSA5513911-0AD1-440C-BDAD-2E0E806B425E.html

  • How to make a picture with the webcam on my Dell laptop

    I have a webcam built-in to my computer dell laptop and want to take a picture of me and save it in the folder my pictures.  I have no idea as to where to look much less take a picture.

    Hello

    What is the brand and model of the laptop?

    I suggest you to check if the steps help like different laptops come with different software.

    (a) click Start

    (b) click on all programs

    (c) click Dell Webcam

    (d) click on Webcam Central to start the program.

    Another simple method to find the webcam is any webcam in the tab "search" start and click the result.

    The recorded images are usually located inside the library under the images.

    Hope this helps and keep us posted.

  • How to make a clip with the mouse

    How do rotate you a clip so it always faces the mouse?

    Try something like this:

  • How to make a column with the session variable

    Hi Experts

    I want to do something like this "DOMAIN". "Sun -"Dim - calendar VALUEOF(NQ_SESSION.'CAL_TYPE2'). "' Year '.

    But I get this error: [nQSError: 27009] unresolved identifier: "DOMAIN". «Dim - VALUEOF (NQ_SESSION. 'CAL_TYPE2') calendar ".» Year. "

    Help, please

    Concerning

    Monwabisa

    Hello

    Having several physical tables is a good news that you can move your 'dynamic' part in the physical layer.

    You simply create a single physical table and configure to have a dynamic name, the name may come from a session variable.

    This way you will point to one of your 7 calendars based on the value of the variable...

  • How to make a list of question field with the data type DATE?

    I have a column with the DATE data type. Using forms 6i I want to generate a poplist field of list item with this column while the value of the items in the list of names of days like SATURDAY, SUNDAY, MONDAY. If we change the date to a char data type, it won't work properly, but now with the data type DATE behind him, it gives the following error message

    "FRM-32082: invalid value for given the type of element."
    List WEEKREST
    Article: WEEKREST
    Block: EMPRESTS
    Form: module 3
    FRM-30085: unable to adapt to the shape for the release. »


    Using forms 6i how a list item field type DATE data which may contain names of days?

    Set your date as a hidden field (not shown) column. Create your item list with the names of day of varchar2. Create the list item as a base table field that accepts the values of text in the names of the days. On this area, create a when-validate-item trigger that translated the text into an actual date that it then uses to set the value of the real object of the base table.

  • In the Finder, how can I search/list of the files in the folder of final characters in filenames, i.e. 'to end-with' alphabetical rather than by default "starting by" alphabetical?

    In the Finder, how can I search/list of the files in the folder of final characters in filenames, i.e. 'to end-with' alphabetical rather than by default "starting by" alphabetical?

    As far as I know, you can't.

  • the friends hyii UA HUD need help how to make a backup of the files from his deleted with (shift + delete) memory card

    the friends hyii UA HUD need help how to make a backup of the files from his deleted with (shift + delete) memory card

    Hello

    It seems that you want to restore the files removed from the memory card.

    I will definitely help you with this.

    I would say you can search the Internet for data recovery software by using your favorite search engine.

    Warning: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    It will be useful. If you have any other questions, feel free to let us know. We will be happy to help you.

    Thank you.

  • How can I select the files in a folder with the help of a list with the files you want and after that rename only the files using another list with desired new names?

    How can I select the files in a folder with the help of a list with the files you want and after that rename only the files using another list with desired new names?

    I have only:
    D: / images (where are necessary + not need files)
    -a list with only the necessary files
    -a list with new names for the files needed
    Thank you.

    Hi Pustiu,

    Thanks for posting in the Microsoft Community.

    You want to know how to select the files in a folder using a list with the files you want and after that rename only the files using another list with desired new names.

    I would have you post your query in the TechNet forums because it caters to an audience of it professionals.

    Your query will be better addressed there.

    Check out the link-

    http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/threads

    We know if you need help. We will be happy to help you. We, at tender Microsoft to excellence.

    Thank you.

  • How to make a paper with some boxes to fill required for me to sign, and then some other boxes needed for the next person to sign. I want the boxes I've filled to be locked the next person.

    How to make a paper with some boxes to fill required for me to sign, and then some other boxes needed for the next person to sign. I want the boxes I've filled to be locked the next person.

    Hi johanb64152807,

    You can use eSign service, where you can send the document for signatures of several signatories, but the document will be sent to the following signatory after the earlier signed & it is not possible for him to make the changes.

    Documents KB for help: -.

    Kind regards
    Nicos

  • How to make a form with report and a form of inclusion in the same page?

    Hey, guys:

    I was wondering if you could have any link or examples to show how to make a form with report and a form of inclusion in the same page, these two forms are related to the same table. Our customer wants that a user can add a new row to the table in a form and see all lines created by this user in a report, the report should provide link change as well. the problem is: whenever I inserted a new line or change a line or delete a line, and submitted and return to this page, all hidden elements lost their values, this report is empty, and some display only items also lost their values. Could someone give me any suggestions?

    Thank you very much!

    Sam

    So, the problem is essentially with page elements lose their session state values when re-loading of the page. How do you define values for the elements of the hidden page? You have default values defined for those? They are based on the database column? What is the "Source" parameter for these items on the page? It is set to "Always, replace any value in session state"? You have any process of 'Empty the Cache', which is reset these values to null element?

    What is your version of the Apex?

    I would recommend that you have installed for example in apex.oracle.com. This would help to better understand the issue.

    Published by: jaouad khalifi on 13 December 2012 22:11

  • How to get a list of the tables more fragmented in Oracle?

    Is there a SQL on how to get a list of the tables more fragmented in the Oracle DBMS?

    Update the statistics on the table and try this, you should see very fragmented tables upstairs with high wasted_space.

    select table_name,round((blocks*8),2) "size (kb)" ,
                                round((num_rows*avg_row_len/1024),2) "actual_data (kb)",
                                (round((blocks*8),2) - round((num_rows*avg_row_len/1024),2)) "wasted_space (kb)"
    from dba_tables
    where (round((blocks*8),2) > round((num_rows*avg_row_len/1024),2))
    order by 4 desc
    

    I changed the query a little because the ORDER BY will not work if we concat | ' Ko ' with the column because this makes the output a character column data.
    And added a WHERE condition to see that these tables where the total size is greater than the actual size of data.

    Published by: zahid79 on July 23, 2010 13:40

  • How to make an arch on the topic title?

    How to make an arch on the topic title?

    You can do the following entirely in any version of Pages because the text on a path is not supported. The News Gothic 'gate' in one area of text Pages. The arc of text was done in HTML5 Canvas with Javascript, then saved as a .png image, which was dragged/dropped into Pages v5.6.1. Normal means to create text curvilinear (CRA) is done by an application chart non-Apple.

Maybe you are looking for