Create item at run time

hi all
i use oracle database 10g and from 6i (winfows 2000pro).
how can i create items at run time (on my canves)?
thax
Rafeek

Read the following.....
Re: Creating Dynamic Text Item
Greetings....
Sim

Similar Messages

  • Help to create item at run time

    Hi all
    Please help to create item at run time
    I want to create item at run time
    is it Possible ???
    thank you

    Hi,
    As mentioned several times above, you cannot use Forms for displaying dynamic columns. So, you have two options (AFAIK).
    1. Create maximum number of items and set their visibility off based on the user input.
    2. Create a PJC (may be by extending JTable), and display dynamic columns (i feel it is a bit complicated and not straight forward as it sounds). Here is a [simple howto|http://sheikyerbouti.developpez.com/forms-pjc-bean/first-bean/first_bean.pdf] to build the PJC.
    -Arun

  • How to generate database text items at run time in oracle forms 6i?

    i have a text item with NUMBER OF ITEMS DISPLAYED=3. My requirement is, i need to generate text items at run time under each TEXT ITEM(3 text items will be there since number of items displayed is 3) and the values will be stored in the database based on the primary key combination. pls help me to solve this pblm

    Hi,
    You cannot generate items dynamically at runtime. The only thing you can do is show and hide item on time. Thay seems that they are generated at run time. Second thing you can do is that you can put items on stack canvas and set visible property of stack canvas to no and at run time set it to visible according to ur condition. Otherwise there is no way. If you find any other way, plz do inform here also.

  • Creating alert at run time

    Our current forms use the MESSAGE built-in to display
    error messages. When people are doing data entry and a message
    comes up, they might hit the enter key as part of their
    processing and never see the message. What we want is
    an alert-type screen that has more than one button so that
    we can place the focus on something other than OK in order
    to make it more difficult for them to miss the error message.
    Something like this:
    while key pressed != 'OK'
    loop
    display message
    end loop
    With this scheme they would have to change the focus from the
    non-OK button, ensuring that they have seen the message.
    An alert would work just fine for this. In order to make
    the integration of this new message processing easier we had hoped
    to put the creation of the alert and the loop in a .PLL file so
    the only change to the application would be to change MESSAGE to
    NEW_MESSAGE in the application's code.
    I can't find any documentation on creating alerts at run time.
    Is there a way to do that, or some other ideas on how to handle
    this situation?
    The applications run in a noisy environment, so having the
    application make a different sound might not work.
    null

    You just need one alert created in each form, rather you can reference one alert from a template and change the alert text runtime.
    Look at set_alert_property.

  • Check marks or dynamic items for run-time shortcut menus

    Labview version: 8.0
    I'd like to create a run-time shortcut menu for my Xcontrol, that would
    allow user to toggle between two states of the control. Is it possible
    to either
    1) dynamically apply check marks to run-time shortcut menus or
    2) dynamically modify the run-time shortcut menu content
    Tomi
    Tomi Maila

    Hi Tomi,
    Great question.  Yes, you can do what you want with run-time shortcut menus in LabVIEW 8.0.  If you want to dynamically modify the menu content, you have to do it in the "Shortcut Menu Activation?" event in the facade VI of the XControl.  In the event data for this event is a parameter called "MenuRef" which works with the same menu primitives that have been around since LabVIEW 5 for editing the menu bar at run-time. 
    With these primitives, you can add/delete/modify menu items to the shortcut menu.  The items that are already in the MenuRef when this event case executes are always the ones that are statically defined, either by LabVIEW or by customizing them.  You do not have control over the state of the items that LabVIEW adds, but you can remove them and add ones with the same text (just with a different tag).  In your case, you would probably want to use the Insert Menu Item primitive to add an item such as "Toggle State".  Give it a tag such as "USER_TOGGLE_STATE".  Then you'll want to use the Set Menu Item Info primitive to set the checkmark for that item based on the state of the XControl.
    Then, you'll need to add an event case for the "Shortcut Menu Selection (User)" event so you can handle the item being selected.  Wire the Item Tag parameter from the event data to a case structure and add a case to look for "USER_TOGGLE_STATE".  And in that case, toggle the state of your XControl.  That's all you need to do!
    The Dual Mode Thermomter shipping example in <LabVIEW 8.0>\examples\general\xcontrols\Dual Mode Thermometer\Simple Dual Mode Thermometer XControl.lvproj is a simple example of how you can modify the menu and respond to the items selected.  It's a little different than what you want to do, but it might help you to look at it.
    Good luck!  Let me know if you have questions.
    Robbie

  • Create lov at run time in  oracle form 10g

    i want to create a lov and record group dynamically at run time..
    i have the code in when-form-instance..
    Declare
    v_lov lov;
    rg_id recordgroup;
    gc_id groupcolumn;
    tem_num number;
    v_rg_id number;
    begin
    rg_id := find_group('My group');
    if id_null(rg_id) then
    rg_id := Create_group('My_group');
    gc_id := add_group_column(rg_id,'emp_id',number_column);
    gc_id := add_group_column(rg_id,'ename',char_column,15);
    end if;
    v_rg_id := POPULATE_GROUP_WITH_QUERY('My_group','select t.employee_id,t.first_name from employee_mt t where t.employee_id in (103,104,106)');
    --tem_num :=populate_group(rg_id);
    v_lov := find_lov ('LOV_NAME');
    set_lov_property(v_lov,group_name,'My_group');
    set_item_property('VEH_SEARCH.TXT_VEH_CODE',lov_name,'lov');
    End;
    now i have problem...whether i create first a lov and record group at design time or not????
    if i create a lov and have the recordgroup column then what is the benefit of dynamically lov...???
    thanks

    Hi.
    It is possible with some restrictions. Let's say you agree there are max 5 columns in your LOV-s. That way you can easily create LOV to RG colums mapping (what Andreas pointed out).
    For example :
    1. in design time create RG with dummy columns (for example : c1, c2, c3, c4, c5)
    2. in design time create 1 LOV with 5 predefind columns (for example : c1, c2, c3, c4, c5)
    3. populate that record group with select (selecting 5 columns. If you do not have 5 columns in your table on which LOV is based just select dummy columns for the rest of the columns) aliasing them as c1, c2, c3, c4, c5 (same as in LOV from step 2)
    4. asign that RG to the LOV in step 1
    5. in LOV show just "non-dummy" rows form step 3
    The rest you already figured it out.
    The benefit of this approach is questionable as the same can be done creating more RG and LOV-s in design time. So I believe this is the matter of developer preferences. By the way the concept I described we use on daily bases dealing with LOV-s.
    Best regards.

  • Item / Block run time property

    Dear all,
    I required following run time parameter property value.
    1. Distance between record property for item.
    2. Current canvas type property. It is TAB CANVAS / STACK CANVAS etc.
    Pl. give me thro' which function, i can get this value.
    Thanks
    hiren

    well  i deleted the cache but of no use,
    i think its not cuzz of authorizations
    i'm still looking for confirmation
    need help out here, when the wad opens
    i dont see any web item just a folder standard items
    which doesnt open though
    Message was edited by:
            Vj.R T

  • Workflow does not start automatically on create item (yet another time)

    The topic has been discussed broadly throughout different forums, but I didn't find the solution to my issue yet and hope you can help me out with ideas to sidestep the difficulties created by Microsoft.
    I have one list 1 in Site Collection A, and one list 2 in Site Collection B (PWA site collection). I need to copy an item from list 1 to list 2 with some values. I use a "Call http web service" action to accomplish
    that as I need to copy informatin cross site collections.
    The "Call webservice" is in an App Step, because the user creating an item in list 1 does not have permissions on list 2. Thus, my item is created "by workflow" (not "by System Account") in list 2. Now I need a second
    workflow to start on list 2 which will create a project in Project Server.
    As I am working across 2 site collections, I can not use a SharePoint 2010 workflow with impersonation step for list 1 as the "Call a webservice" action is not available for SP2010 workflows and "Copy item" only works in the same site.
    In Nintex I can impersonate the web service call - is this also somehow possible for SPD2013 workflows? Or is there any other possibility to get over this silly restriction of workflows not starting automatically on System account created items? Someway
    perhaps to tweak the App Step in impersonating with another user account?
    Any help appreciated!
    I really can't understand, that this common requirement is still not solved by Microsoft :-(  I found more threads on the topic than I can count, so this seems to happen quite often... at least they should finally offer a proper way of doing some kind
    of impersonation with the calls so we have a chance to change the creating user account.

    Hi,
    As I understand, you would like to use workflow to copy list items cross site collection.
    So far it is not supported with OOB workflow option, here is an codeplex workaround:
    https://spdactivities.codeplex.com/wikipage?title=Copy%20List%20Item%20Extended%20Activity
    Please check if it can be help.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Creating executable including run time and drivers windows 7

    Hi
    Using version 8.5.1 and need to include the runtime version, and drivers for connecting to scope into an executable. Have found so much information on the subject of creating an executable but would like to know if anyone has some step by step for version 8.5.1 to create an executable.   Also, has anyone had any issues with drivers and installing/creating exe. while running windows 7.

    Hi!
    I remember running the compiler at home on Windows 7 64bit using 32bit LabVIEW and I did not have any problems.  The exe built just fine.
    You have to have your code in a project in order to build an executable.  Once you have created a project and included your source files, right click on Build Specifications and choose "New->Application (exe)".  Go through each section of the Application (exe) dialog and input the appropriate settings you need.
    You can include the runtime and device drivers by creating an Installer.  Once you have your executable built, you can right click on Build Specifications and choose "New->Installer".  Same thing, go through each part of the dialog box selecting appropriate settings.  Under "Additional Installers" you can include NI drivers and the LabVIEW runtime.  If you have never done this before, it may ask for you to insert LabVIEW/NI Driver discs so it can include what it needs to for your installer.
    My users tend to groan whenever I do this, however, as it creates installers >400MB (which seems silly to them for what appears to be a simple program).  Ah well. 

  • Hi have installed oracle11g but forms create error in run time frm-93531

    I logged as admin an start the weblogic service on oracle 11g but frm-93531
    As can not create runtime process. Unable to switch the working difectlly.... Kindly help me its sooo urgent

    check this link
    https://sites.google.com/site/craigsoraclestuff/oracle-forms---how-to-s/forms-how-to-configure-forms-builder-to-run-forms-locally
    Hope this helps
    If someone response is helpful or correct, please mark it accordingly.

  • Help creating code with running time proportional to N! (factorial)

    I'm guessing that n! is something like n^n, but am not sure how to create for loops for that. I know n^2 requires two for loops; one inside the other. Some hints or guides would be greatly appreciated. Thanks.

    WootGui wrote:
    Thanks for backing up my idea. O(n^2) has two nested loops, that means O(n^n) should have n nested loops, but how is it possible to create n nested loops when n is large. ThanksYou're welcome.
    An algorithm does not have to have n-nested loops (which all run upto n) to be in O(n^n). An example of something in O(n^n) (or O(n!)) is solving the famous [travelling salesman problem|http://en.wikipedia.org/wiki/Traveling_salesman_problem] brute force.

  • How to color a list box item at run time

    I do not want to change colors in a selected or a highlighted item.  I want to color foreground on any item based on a program condition.
    IN windows forms I could change the drawmode property to ownerdrawfixed and then override the listbox rendering event and paint the item based on condition.
    I don not find such a property in the WPF listbox.  Is there a different way to do this?
    NR

    Thanks Olaf.   I changed the section below to my code as you suggested and it works fine now.  I can now modify it to make it applicable to other scenarios.
    public
    partial
    class
    MainWindow
    : Window
    public
    System.Collections.ObjectModel.ObservableCollection<string>
    MyItems { get;
    set;
    public
    MainWindow()
    MyItems =
    new
    System.Collections.ObjectModel.ObservableCollection<string>();
    InitializeComponent();
    private
    void
    button1_Click(object
    sender, RoutedEventArgs
    e)
    MyItems.Add(textBox1.Text);
    this.DataContext
    = this;
    NR

  • Creating PDFs at run-time

    I am developing an AIR app for Windows desktop and iOS. The app needs to be able to create PDFs from information inputted by the user, and then save the PDF to the device. Ideally, I need to do this 100% client-side, and not rely on a server to create the PDFs. Does anyone know of the best solution for this? I have contacted the developers of both AlivePDF and PurePDF libraries, as these may provide the solution, but both of these libraries appear to be about 4 - 5 years old.

    You just need one alert created in each form, rather you can reference one alert from a template and change the alert text runtime.
    Look at set_alert_property.

  • Can we create items dynamically or at run time?

    Hello expert,
    can we create some item dynamically at some button click?
    Thanks
    yash

    yash_08031983 wrote:
    Hello expert,
    can we create some item dynamically at some button click?Hello, yash
    You can not create items at run time. But you can manage them at run time by setting Visible property programatically.
    Hope this helps..
    Hamid

  • Change Item Type at Run Time!!

    Hi all,
    I am using apex 4.0, and I want to know if their is any plug-in that can help me to change the type of an item at run time.
    what exactly i want to do is to change the type of an item according to the value of a select list, for example when the user select a specific value from the select list,this item should be displayed as a date piker.
    so, can any one help me?
    thanks in advance,
    Ola,

    Hi,
    Here is sample
    https://apex.oracle.com/pls/otn/f?p=40323:81
    When you select "Date" from select list and submit Field is changed to datepicker.
    I did create select list P81_SELECT with static LOV
    STATIC2:Text;T,Date;DNormal text item P81_FIELD and to page JavaScript Execute when Page Loads
    if($v('P81_SELECT')=='D'){
    $('#P81_FIELD').datepicker({showOn:'both',buttonImage:'#IMAGE_PREFIX#asfdcldr.gif',buttonImageOnly:true});
    }Regards,
    Jari

Maybe you are looking for