Combobox (in matrix) not selectable?!

hello all.
i'd like to ask something.
see, i am populating a combobox within a column within a matrix.
all the values are there alright,
but i can't seem to select any entry ***
more details:
i DO see the drop down with all the values,
but whenever i select (programmicaly or using the mouse),
nothing is shown in the combobox,
and indeed the combobox.SELECTED is nothing!
why?
need i attach/bind it to datasource?
i don't want to do that.
thank you for your time.
-i.

Hi Itay,
You are right, you need to bind the combobox to a datasource. I think binding to userdatasource is very useful and it's the mechanism of SAP Business One application. So I suggest you to do that.
Here is a sample.
Set oColumn = oColumns.Add("customer", it_COMBO_BOX)
    oColumn.TitleObject.Caption = "customer"
    oColumn.Width = 127
    oColumn.Editable = True
    oForm.DataSources.UserDataSources.Add "Customer", dt_LONG_TEXT, 30
    oColumn.DataBind.SetBound True, "OCRD", "CardType"
    Set oUserDataSource = oForm.DataSources.UserDataSources.Item("Customer")
Hope it helps.
Best Regards,
Nick He

Similar Messages

  • JComboBox not selected

    Hi,
    I posted this problem before:
    http://forum.java.sun.com/thread.jspa?threadID=5157147
    But now I was abled to come up with an example to demonstrate my problem.. To see the problem, follow these instructions:
    1. Click the "Open Dialog X" from the first Frame, that will open the JDialog X.
    2. Click the "Open Dialog Y" from Dialog X, that will open JDialog Y.
    3. With JDialog Y, click on the comboBox to see the selection. You do not need to select anything, just move your mouse over the choices to see the right behavior of highlight behavior
    4. Click "Cancel" from Dialog Y to "close" it.
    5. Click "Cancel" from Dialog X to "close" it.
    6. Now open Dialog X.
    7. Open Dialog Y... You cannot select anything now!
    8. If you close Dialog Y, and then open it right away without closing Dialg X, then the comboBox is back again!
    If you didn't click on the comboBox in step3 (even if you don't select anything), the problem won't come in step7.
    If you didn't cancel all the way out to the first "TestCase" frame, the problem won't happen.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class mainFrame
        extends JFrame {
      BorderLayout borderLayout1 = new BorderLayout();
      JButton openDialogBn = new JButton();
      DialogX dialogX = null;
      public mainFrame() {
        try {
          openDialogBn.setText("Open Dialog X");
          openDialogBn.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(ActionEvent e) {
              openDialogBn_actionPerformed(e);
          this.getContentPane().setLayout(borderLayout1);
          this.getContentPane().add(openDialogBn, BorderLayout.CENTER);
          this.setTitle("TestCase");
          this.setSize(200, 100);
          this.show();
          this.addWindowListener(new WindowAdapter() {
            public void windowsClosing(WindowEvent we) {
              System.exit(0);
        catch (Exception ex) {
          ex.printStackTrace();
      public static void main(String[] args) {
        mainFrame mainFrame = new mainFrame();
      void openDialogBn_actionPerformed(ActionEvent e) {
        if (dialogX == null) {
          dialogX = new DialogX(this, "Dialog X", true);
        else {
          dialogX.show();
    class DialogX
        extends JDialog {
      JPanel panel1 = new JPanel();
      BorderLayout borderLayout1 = new BorderLayout();
      JButton startDialogBn = new JButton();
      JButton cancelBn = new JButton();
      DialogY dialogY = null;
      Frame owner;
      public DialogX(Frame frame, String title, boolean modal) {
        super(frame, title, modal);
        owner = frame;
        try {
          panel1.setLayout(borderLayout1);
          startDialogBn.setText("Open Dialog Y");
          startDialogBn.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(ActionEvent e) {
              startDialogBn_actionPerformed(e);
          cancelBn.setActionCommand("cancel");
          cancelBn.setText("Cancel");
          cancelBn.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(ActionEvent e) {
              cancelBn_actionPerformed(e);
          getContentPane().add(panel1);
          panel1.add(startDialogBn, BorderLayout.CENTER);
          panel1.add(cancelBn, BorderLayout.SOUTH);
          setSize(150, 80);
          show();
        catch (Exception ex) {
          ex.printStackTrace();
      void cancelBn_actionPerformed(ActionEvent e) {
        this.hide();
      void startDialogBn_actionPerformed(ActionEvent e) {
        if (dialogY == null) {
          dialogY = new DialogY(owner, "Dialog Y", true);
        else {
          dialogY.show();
    class DialogY
        extends JDialog {
      JPanel panel1 = new JPanel();
      BorderLayout borderLayout1 = new BorderLayout();
      JButton cancelBn = new JButton();
      JComboBox combo = new JComboBox();
      public DialogY(Frame frame, String title, boolean modal) {
        super(frame, title, modal);
        try {
          panel1.setLayout(borderLayout1);
          cancelBn.setActionCommand("cancel");
          cancelBn.setText("Cancel");
          cancelBn.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(ActionEvent e) {
              cancelBn_actionPerformed(e);
          getContentPane().add(panel1);
          panel1.add(cancelBn, BorderLayout.SOUTH);
          panel1.add(combo, BorderLayout.CENTER);
          setSize(200, 200);
          combo.addItem("Option 1");
          combo.addItem("Option 2");
          combo.addItem("Option 3");
          combo.addItem("Option 4");
          pack();
          show();
        catch (Exception ex) {
          ex.printStackTrace();
      void cancelBn_actionPerformed(ActionEvent e) {
        this.hide();
    }

    Hi,
    I found out a little more information. I initially said that in the previous thread that this seems to be a problem with 7 items, but in my test case, it seems to be with smaller number of items... I now find out that it is not really the number, but the fact that if the "popup" choice list border touches or close to the border, then we have this problem.... I had modified my sample code to include a dummy panel to prove it... The changes look something like this:
         JPanel dummyPanel = new JPanel();
          Dimension d = new Dimension(100, 200);
          dummyPanel.setPreferredSize(d);
          dummyPanel.setMinimumSize(d);
          panel1.add(combo, BorderLayout.NORTH);
          panel1.add(dummyPanel, BorderLayout.CENTER);
          panel1.add(cancelBn, BorderLayout.SOUTH);I will welcome any inputs onto this matter... For right now, at least I have a "workaround" for my problem... But I am still very interested to learn why.
    Thanks...

  • Can not select from data dictionary view from a procedure

    Hi,
    I wonder, which privilege is missing here:
    my schema has this roles and privs:
    GRANT CONNECT, RESOURCE TO cb ;
    GRANT CREATE SESSION TO cb ;
    GRANT SELECT_CATALOG_ROLE TO cb ;
    GRANT CREATE SYNONYM TO CB;
    GRANT CREATE VIEW TO CB;
    I create a procedure:
    create or replace procedure dd_test as
    begin
         dbms_output.enable(2000000);
         for r in (select table_name from sys.dba_tab_partitions     where owner = 'CB') loop
                   dbms_output.put_line(r.table_name);
         end loop;
    end;
    sho err
    4/38 PL/SQL: ORA-00942: table or view does not exist
    When I run the core statement form sql prompt, it works !
    so what privilege is missing here ???
    thanks for any hint, Lao De

    Hi,
    thanks for that reply, after doing that I can not select this DD-view from sql-prompt anymore (which I don't wonder ;-). Can you tell me, what idea you had behind that test ?
    I found another instance, where the procedure works and I will compare those privileges, but it's hard to sort out that complex structure of nested roles and sys_privs.
    How ever, I will update here, when I found the missing privilege.
    regards LaoDe

  • Can not select 'Show HD' in Finder Preferences

    Just performed Data Migration on a new iMac Intel late 2011 from a 2 year old iMac Intel.  For some reason, the Macintosh HD does not display on the desktop.  If I go to Finder Preferences I can not select Hard Disks.  The box is not selected, but If I try to click it, it will not stick.  How do I fix that.  Not much on the internet concering this peculiarity.

    OK, try a couple of things. First is to do some resets, the first I'd recommend doing is restarting the computer in  Safe Mode, this will clear some caches. It's possible one is corrupt. Next is to reset the SMC and PRAM, each of these should be done 2x to ensure they work. Finally if that doesn't do it open Disk Utility (Applications - Utilities - Disk Utility) and Repair Disk Permissions 2x.
    SMC RESET
    Shut down the computer.
    Unplug the computer's power cord and all peripherals.
    Press and hold the power button for 5 seconds.
    Release the power button.
    Attach the computers power cable.
    Press the power button to turn on the computer.
    PRAM RESET
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • Can not select an address from Contacts in Maverick

    I'm able to access my address book contacts from Mail. 
    But when Contacts window is open,  I can not select a contact (For, CC, Bcc Fields are in grey).
    Is there anyone with suggestions?
    Many thanks!

    Hello
    I am not selecting a group. I am just trying to select a contact, any contact.
    But when I click on contacts icon ...
    and the address book opens, nothing happens when clicking on a specific contact.
    Besides, the fields For (= Para), Cc and Bcc, are not active...
    Many thanks

  • Can not select from SAPTOOLS.DB6PMCF

    We use third-party tool to monitor our SAP systems. We receive an error
    Can not select from SAPTOOLS.DB6PMCF
    when we monitor DB2 database.
    Function DB6PMCF is registered in SAPSID schema. Can I register it also in SAPTOOLS schema? What is a correct procedure for this?

    Hi Milan,
    I think you have to issue the following command for the affected user.
    db2 "grant execute on function saptools.db6pmcf to <user>"
    regards, Javier Rocha

  • Can not select external input for sound

    can not select external input for sound

    Hey there RoosterMonkey,
    It sounds like you have Soundtrack Pro installed but you cannot select your external audio device as an input. I recommend the troubleshooting steps from the article named:
    Soundtrack Pro 3: Troubleshooting Basics
    http://support.apple.com/kb/ht3659
    Update to the latest software versions
    From the Apple () menu, choose Software Update and make sure that you have the most recent updates for your versions of Soundtrack Pro 3, QuickTime, Compressor, Pro Application Support, and other important system files. Installing the latest updates ensures that your software has the latest improvements and enhancements.
    Note: Be sure the application is in the Applications folder and is named Soundtrack Pro before running Software Update.
    Check compatibility and driver versions for third-party devices
    If you're using a third-party sound card, MIDI interface, storage system, control surface, or plug-in, check the support area on the manufacturer's website to be sure that you're using the latest version of the relevant driver or other software for your product. For information on troubleshooting possible issues with Audio Unit plug-ins, go to Soundtrack Pro 3: Troubleshooting Audio Unit plug-in issues.
    Try a different Multitrack Project or Audio File Project
    Sometimes project files can become damaged, causing unexpected behavior in Soundtrack Pro. To create a fresh project, choose File, then New and select Multitrack Project or Audio File. Test to see if the issue is resolved in the new project.
    Delete the User Preferences
    You can resolve many issues by restoring Soundtrack Pro to its original settings. This will not impact your project files. To reset your Soundtrack Pro user preference settings to their original state:
    Quit Soundtrack Pro if it is open.
    In the Finder, choose Go > Go to Folder from the menu bar.
    Type ~/Library/Preferences  in the "Go to the folder" field.
    Remove the "com.apple.soundtrackpro.plist" file from the Preferences folder.
    In the Finder, choose Go > Go to Folder from the menu.
    Type ~/Library/Application Support/Soundtrack Pro  in the "Go to the folder" field.
    Remove the "EffectsCache.plist" file from the Soundtrack Pro folder.
    In the Finder, choose Go > Go to Folder from the menu.
    Type ~/Library/Application Support/Soundtrack Pro/Layouts  in the "Go to folder" field.
    Remove the "Soundtrack Pro.saved.moduleLayout" file from the Layouts folder.
    In the Finder, choose Go > Go to Folder from the menu.
    Type ~/Library/Caches in the "Go to folder" field.
    Remove the "com.apple.audiounits.cache" from the Caches folder.
    Remove receipts and reinstall Soundtrack Pro 3 and Compressor
    Another approach you might consider is reinstalling Soundtrack Pro and Compressor. To do this effectively, you need to remove the applications and their receipts, then install Soundtrack Pro and use Software Update to install additional updates. Compressor gets installed automatically when you install Soundtrack Pro. You don't have to remove everything that was installed with Soundtrack Pro, so follow the steps below to completely reinstall a fresh copy of Soundtrack Pro. Note: Make sure that you have your installation discs handy before beginning.
    In Mac OS X v10.6 Snow Leopard or OS X Lion
    Open the Terminal application and enter the following commands one at a time and an administrator password when prompted. Note: The commands are case sensitive.
    sudo pkgutil --forget com.apple.pkg.Compressor
    sudo pkgutil --forget com.apple.pkg.Qmaster
    sudo pkgutil --forget com.apple.pkg.VideoOutSupport
    sudo pkgutil --forget com.apple.pkg.PSTSharedA
    sudo pkgutil --forget com.apple.pkg.AppleHDVCodec
    sudo pkgutil --forget com.apple.pkg.AppleIntermediateCodec
    sudo pkgutil --forget com.apple.pkg.DSPPublishing
    sudo pkgutil --forget com.apple.pkg.SoundtrackPro
    sudo pkgutil --forget com.apple.pkg.Uncompressed422
    Then, reinstall Soundtrack Pro and Compressor using the following steps:
    Open the Applications folder. Drag the Soundtrack Pro and Compressor applications to the Trash.
    Insert your Logic Studio or Final Cut Studio installation disc and install Soundtrack Pro.
    When finished installing, choose the Apple () menu, then Software Update to update your software to the latest version.
    Open Soundtrack Pro to verify that the issue has been resolved.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • ADF 11g can not select and copy data from cell of readonly table in IE

    hi,
    In ADF 11g, when render view object as readonly table with Single RowsSelection, using IE browser can not select and copy data from the cell, but it work in firefox.
    is it a bug?
    Edited by: kent2066 on 2009-5-18 上午8:46

    Hi Timo,
    Sorry forgot to mention versions.
    We are using 11.1.1.7 and IE 9.
    I tried in Google but could not get the solution.
    Kindly let me know solution for this.
    PavanKumar

  • Looping real instruments  - follow time of project option not selectable

    Hi,
    I've recorded a real instrument track, now I would like to make it loopable and safe it to the instruments library.
    So, I trimmed it to the desired lenght and wanted to export it.
    Now my problem:
    the export option "follow time and tonality" is not selectable irrespective whether or not I checked the box at the bottom in the edit track window that should allow the loop for following the project parameters.
    Does anyone know what could be the problem?
    THANKS

    It seems that it is crucial to adjust the region one wants to loop to an integer bar lenght, then recheck the box, follow time and tonality in the track window. I have noticed that although following the same proceedure sometimes it not possible to export the such a loop as one that follows the tempo of the song (unable to check box, in the loop-export dialogue). To me the reason is not completely clear, often it requires some trial and error, import loop in new project to export it as a tempo following one.

  • Why can I not disable the guest user in the 10.8.2 update? I have never enabled the guest user, but after the update, it was automatically enabled with a "managed" tag. It is not selectable even after entering my admin password to unlock the options.

    Why can I not disable the guest user in the 10.8.2 update? I have never enabled the guest user, but after the update, it was automatically enabled with a "managed" tag. It is not selectable even after entering my admin password to unlock the options. I was able to select the account under "parental controls", but again, could not delete it. Why Apple? Why?!!????

    SOLVED Ok. I actually was able to disable it. I had to actually log in as the guest user to make it accessible in the preference window. Then I disabled it and logged out. Apologies if this was obvious for some people, but I have had some sort of issue with something every update since Snow Leopard.

  • How do you select and move more than one bookmark at a time? Shift+Click does not select multiple items that are next to one another in a list because the item

    How do you select and move more than one bookmark at a time?
    Shift+Click does not select multiple items that are next to one another in a list because the items open in firefox before this happens.

    Use the bookmarks library. You may use Shift +Click, and Ctrl + Click to create groupings of selected bookmarks to drag and drop.
    * one method of opening the bookmarks library is keyboard shortcut <br /> Ctrl+Shift+B (Windows)
    *see also [[How to use bookmarks to save and organize your favorite websites]]
    *and [[Use bookmark folders to organize your bookmarks]]

  • We have two iTunes accounts on one computer. Why is my music, apps, etc showing in my husbands account? home sharing is not selected

    We have two iTunes accounts on one computer. Why is my music, apps, etc showing in my husbands account? Home sharing is NOT selected. This recently became an issue when we added additional devices. Now we keep getting each other's apps!

    Se descargan aplicaciones para mi iPad 64 3G, las cuales en el momento de sincronizar no pasan a la iPad debido a que solicita una autorizacion para el ordenador la cual se autoriza con ID y el Password, esta orden se procesa y vuelve a solicitar nuevamente la autorizacion y asi sucesivamente.
    He intentado creando nuevas cuentas y desinstalando iTunes y volviendolo a instalar.
    Favor de orientarme en la solucion adecuada para el asunto comentado anteriormente.

  • Office 365 ProPlus App-V 5.0 Package installs Lync, Outlook, Infopath and Onenote even though they are not selected for publishing

    I have created an App-V 5.0 Package for Office 365 ProPlus using the documentation provided here:
    http://technet.microsoft.com/en-us/library/jj219422.aspx
    I am able to load the App-V Package into my SCCM 2012 SP1 environment and deploy the package to a test machine
    Within SCCM, I have configured the deployment type to only select a couple of applications.  Notice that Lync, Outlook, Infopath and Onenote are not selected.
    http://i.imgur.com/1eMxUlY.jpg
    For my deployment type, I only selected Word, Excel and Powerpoint.  Looking at my test machine, those 3 applications now show up in my start screen.
    http://i.imgur.com/amZmxAT.jpg
    I don't see any of the other Office applications be default on my start screen, so I would think all looks good.  If I type another Office application, lets say access at the start screen I get, "No apps match your search."
    http://i.imgur.com/fxbWEvb.jpg
    But if I type Lync, Outlook, Infopath or Onenote, it shows me that those applications are available, and I can launch them as an App-V application just as I could Excel, Word or Powerpoint, the applications that I wanted to have available.
    This is not what I was expecting when I went through the trouble to create an App-V package.  It looks like almost all of the apps become available on my client machine, all App-V is doing is making the application button in the start screen a little
    harder to find.
    What is interesting is that for the applications I did want published, I can search for them by just entering a few letters of the application name, and they show up with the 2013 version label, see below for an example search for Word.
    http://i.imgur.com/0LeS05z.jpg
    For the applications that I did not publish but still show up on my client, I have to type in the full name of the application for the launch button to come up.  For example, I can't type lyn and expect to see Lync, but if i type lync I will get an
    option to launch the application.  The same goes for Outlook, Infopath and Onenote, and when you do type in the full namke of the app, it doesn't show the version number like Word does as Word 2013, it just shows Lync, or Outlook, or Infopath, or
    Onenote.
    http://i.imgur.com/QV1afuc.jpg
    vs
    http://i.imgur.com/PxgSmUc.jpg
    Can anyone from Microsoft confirm that this is expected behavior.  If this is to be expected this is pretty disappointing, because a main point of the App-V package is it is the only way to limit which applications are deployed via Office 365 ProPlus
    but from what I can tell, it really isn't limiting anything beyond the start screen for most cases.

    So it looks like the config xml files are the best option
    http://blogs.technet.com/b/office_resource_kit/archive/2013/12/02/announcing-app-v-5-0-sp2-support-for-office-2013-volume-licensing-editions.aspx
    You can now use the Deployment Configuration file to configure the Office installation. One question I often get is, “How do I disable msaccess.exe or infopath.exe from an Office install if I am not using the MSI package?” This can be done by modifying the
    Deployment Configuration file in App-V with entries like the following:
    <Application Id="[(AppVPackageRoot}]\office15\MSACCESS.EXE" Enabled="false">
      <VisualElements>
        <Name>Access 2013</Name>
        <Icon />
        <Description />
      </VisualElements>
    </Application>
    That will prevent App-V from publishing msaccess.exe on the system and/or you can remove any undesired application shortcuts from publishing on the targeted computer using the shortcuts properties by deleting or commenting them out. Once you’ve configured your
    Deployment and User Configuration files, you’ll have everything you need to import the packages into your App-V environment to start testing.

  • Why can I NOT select March 2013 Month Display in iPad's calendar ?

    Why can I NOT select March 2013 Month display in iPad's calendar ?

    Just found out that I had subcribed for a calendar which shows the numbers of the calendar weeks. Turned this off and no crash anymore.
    How can I get the number of calendar weeks in a different way. So that no crashes occur?

  • If I do not select F11 ( full screen ) a big part of the screen "falls" of the right hand side of my monitor and is not readable, I am not able to find the neccesary adjustments.

    Question
    If I do not select F11 ( full screen ) a big part of the screen "falls" of the right hand side of my monitor and is not readable, I am not able to find the neccesary adjustments.
    Screen 2/3 blanco on the left side
    With F11 all OK.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • What is new in 7.0.6 update

    I just updated to the latest release, wish to new whats new in this, I could feel no change..

  • How to uninstall Windows Intune Center and its related programs permanently from the Windows 7 64 bit OS?

    Hi, I am Srikar, I installed Windows Intune End Point protection in my PC (Windows 7 64bit). I am not able to uninstall it.It is eating all the resources and my pc is getting slower down day by day. I tried uninstalling via Control Panel->Programs an

  • No longer mirroring with 10.8

    So, why can I no longer airplay mirror under Mac OS 10.8? Why would Apple want to force me to upgrade to Mavericks knowing full well it's filled with problems? I upgraded once and it was the only time I had to use Time Machine to go back to 10.8. But

  • How to use HRRCF00_PRE_DATAOVERVIEW

    Hello I am trying to add some additional data in the candidate's data over view: There is a badi available for this: it doesnt have an extended documentation. It says i can export some data to a function group or an external area and call it back in

  • Linked Server Question

    I'm trying to create a universe in a Sql Server 2000 DB, one view in my universe depends on data retrieved by a linked server. When I run my query in Web Intelligence I get this error: A database error occured. The database error text is: [Microsoft