How to add values in the combobox that I have added in the Grid?

Hi all,
I have added a combobox to a Grid, i need to add values to that Combobox, how can i do it, Can anybody help
Regards
Cool Ice

Hi Cool Ice,
I'm use this code to add value to my combobox in my grid :
string sQuery = "SELECT CRD1.Address FROM CRD1 WHERE CRD1.AdresType='S' AND CRD1.CardCode='" + oGrid.DataTable.Columns.Item("U_IFC_PP").Cells.Item(pVal.Row).Value.ToString() + "'";
                                    SAPbobsCOM.Recordset oRec;
                                    oRec = (SAPbobsCOM.Recordset)SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
                                    oRec.DoQuery(sQuery);
                                    SAPbouiCOM.ComboBoxColumn oCBB;
                                    oCBB = (SAPbouiCOM.ComboBoxColumn)oGrid.Columns.Item("U_IFC_ADR");
                                    oCBB.DisplayType = SAPbouiCOM.BoComboDisplayType.cdt_Value;
                                    while (!oRec.EoF)
                                        oCBB.ValidValues.Add(oRec.Fields.Item("Address").Value.ToString(), "");//, oRec.Fields.Item("Address").Value.ToString());
                                        oRec.MoveNext();
Hope it's help you
Regards
Michael

Similar Messages

  • HT1694 I'm having a lot of problems with the hotmail account, regularly is indicating an error in the server, that I have to introduce the password again that late that this is wrong. I have changed the password making this shorter but it does not work.

    I'm having a lot of problems with the hotmail account, regularly is indicating an error in the server, that I have to introduce the password again that late that this is wrong. I have changed the password making this shorter but it does not work.

    bump? Is bumping allowed? Lol.
    I just really need some help here.

  • TS1424 I have just opened iTunes and only the music that I have purchased from the iTunes store is being shown: I can't find any of the music that I have imported from a file. Help?

    I have just opened iTunes and only the music that I have purchased from the iTunes store is being shown: I can't find any of the music that I have imported from a file. Help?

    See this post.
    tt2

  • Where we can check the changes that we have done in the Projects

    Dear Friends,
    I have done few changes in the project WBS element after saving the Project, Now I want to check what all the changes that I have done in the WBS.
    In which transaction I can check these changes apart from u201CCN60u201D, and please explain step by step what all the customizing setting are required to check these changes.
    In Projects is it possible to check the way we are checking the changes in PO and Sales Orders.
    Regards,
    Sai

    Nitin Patoliya,
    Thanks for the inputs, I have tried as you suggested there it is showing system status Created and released, but Iu2019m not getting the information as I required. Here exactly what Iu2019m looking is If I have done any changes in the Project, Eg: after saving the Project if I have changed the Business area, profit center u2026.etc, I need the information when I have changed this data and at what level (WBS, Network or Activity).
    Regards,
    Sai

  • Trying to watch a movie on the television that I have downloaded on the computer

    trying to watch a movie on the television that I have downloaded on the computer ~ cannot get it to transfer

    There is nothing to transfer.
    Simply select the movie under the Computers option on the ATV.

  • Will I still have access to the programs that I have purchased in the US if I switch my AppleTV to say it is in the UK?

    I have an AppleTV that is set up so that I can use it in the US and purchase US content. What happens if I switch it to say that I am in the UK so that I can purchase shows from the BBC (not "BBC America" but the real BBC)? Will I no longer have access to my collection of movies that I have purchased in the US?
    Is there some kind of surcharge if I purchase UK content (which is priced in UK £) with a credit card from the US?
    What happens if I have two iTunes accounts where one is an account that I started in the UK and the other started in the US? Can they both be on the same AppleTV?
    Thank you

    Thank you! I assume that the BBC doesn't want Americans to have access to some content (for example, Season 3 of Downton Abbey which my wife wants to see). There may be some legal/contractual barrier that prevents this. But I wasn't certain whether AppleTV actually prevents this.

  • I cant find many of the apps that I have downloaded, is the max 10 pages of apps on the 4s?, I cant find many of the apps that I have downloaded, is the max 10 pages of apps on the 4s?

    I have downloaded many apps but am unable to find any more than 10 pages of them< is this the maximum the iphone 4s will hold, or where/how can I find the rest that do not show?

    Find them where?
    The max number of home screens is 11.
    What happens when trying a search on the device?
    If you do not want/need all of the apps on the device at once, you can manage which ones sync to the device via iTunes.

  • HT201343 i have a mid 2010 mac pro and the fact that it have most of the components as the ones compatible with the airplay mirroring mine does not work ?

    i have verify that all the components are almost the same please advice why because i was able to previously airply movies why not now that i have the latest os x mountain lion

    iTunes airplay still works as it always has.
    AirPlay Mirroring (the ML-added feature) requires the latest Intel hardware (specifically the Intel HD Graphics subprocessor).  This hardware includes a feature called QuickSync Video (similar to HDMI-over-wifi).
    There is no 'almost' have it.  Either you do or you do not.  It wasn't an arbitrary decision by Apple to deny older Macs of this hardware feature.

  • Why is my pdf always coming up with the comment that I have not accepted the download?

    I am having problems, getting my pdf from a telephone statement.  Everytime a go the see if it will print, it says I have not accepted the program.  what am i doing wrong!

    Before proceeding you must first launch Adobe Acrobat and accept the End User License Agreement.
    This is what my response is when I am trying to view a pdf!

  • How can I search the forum for the questions that I have asked in the past. Sorry, this may be a stupid question but I am new here

    Just was asking how do I browse through the forum, here, to see my questions and answers and other question and answers.
    Thanks

    https://support.mozilla.org/en-US/search?a=1&asked_by=gifropan&sortby=1&w=2
    Click on your username under your avatar in this thread. <br />
    https://support.mozilla.org/en-US/user/834634 <br />
    Then click on the "2 questions" hyperlink under '''Contributions''' on that page.
    You can also acces that page via your username at the top of the first "answers" page, under "View Profile".

  • How do I transfer an a playlist that I have already organized the songs to my iphone

    Please help. I have organized the song order in a playlist and tried to sync to my iphone 5 but it does not sync the order of the songs. Any ideas??

    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • I have been having trouble updating my iPhone lately. Every time I go and try to sync it with the computer all of the apps that I have deleted from the iPhone keep reappearing on the phone. Why is this happening? Thanks heaps

    Please if anyone has had this problem please help me, as I am getting annoyed with it.

    Here is what worked for me:
      My usb hub, being usb2, was too fast. I moved the wire to a usb port directory on my pc. That is a usb1 port which is slow enough to run your snyc.

  • When ever i try to open a PDF file while on a Firefox browser an endless supply of empty tabs keep poping up, to the poit that i have to restart the computer. What should i do?

    This is very annoying because the only way i can read PDF files is on a whole different computer, this makes doing school work very irritating.

    This link should help you fix this - https://support.mozilla.com/kb/Firefox+keeps+opening+many+tabs+or+windows

  • Why can't i save the image that i have corrected on the texturizer filter screen.

    as soon as i click ok on the corrected screen, it reveals the underlying original uncorrected image. i don't see any options to save the image.

    In version 10 hold down Alt+Ctrl+Shift while starting PSE. Answer Yes to the prompt box. This is what it will look like (except yours will say 10 in the Title).
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • Hi, can you help?  My emails that I have received show the date received as either today, yesterday or July 28.  How can I get the correct date received?

    Hi, The emails that I have received show the date received as either today, yesterday or July 28.  How can I get the correct date received?

    That's very scary. They might do it, but I personally have never had Apple contact me re id's except on their site when signing in. I suggest you DO NOT respond until you have a phone conversation with Apple security. They can verify if they sent you the e-mail and why.
    While it's very possible it's true,again, I suggest you not respond until you speak to someone at Apple. I've often read here that when people sign in they are not allowed to because "someone else has used the id" type of statement.
    Also, you should be able to go to the app store and see what apps you have downloaded.
    Though it could have been a free app, have you checked to see if any were bought with your id account?
    I've gotten these types of e-mails from places like USPS and FedEx which look amazingly authentic and were from their website. I also received an odd e-mail from my cousin in Ireland last year that clearly was not from him. It was also sent to others in his family in Ireland. I e-mailed him that I only opened it because it had a .ie, but suggested he change... Days later I received mail from 'him' - same name, but at yahoo.com. 
    Again, I would call Apple. You can also report it at [email protected], but I would not settle for that given your situation. If nothing else, call Apple sales (sales depts. anywhere answer fast) and ask them to transfer you to security. Apple will not want anybody accessing their name, and while it's unlikely, it's not impossible that it is someone phishing.
    Hope this helps and can you let the support community know your results by posting on this thread when you're done? Thank you.
    Hope this helps.

Maybe you are looking for

  • Problem with ArrayList

    Hello, I am having a problem with a program I am trying to write. The idea of the program is to: A) read a list of movies list from a text file B) create an object for each movie using the information from the text file C) place the objects into an a

  • FBL5N Vs FD33

    The open receivables shown vide FBL5N and FD33 do not match. Please let me know how to reconcile the receivables amount in FD33 as against FBL5N items. What could be the possible reasons for mismatch ? Please help me out. Thank you

  • Dataguard in 11.5.10.2

    Hi All, I have production 11.5.10.2 ,database 9.2.0.6,operating system:sun solaris 5.10 for which it has got dataguard now our client says to take out the dataguard Please can any one help me out with detailed steps to take out the dataguard from pro

  • Acrobat X pro doesn't work with Yosemite

    I use Acrobat X pro on mac OS X , and  I updated to Yosemite . Since this update, I can't use Acrobat pro . When I want to edit a pdf, the window displaying "Software license agreement" appears....no way to modify a file. I checked: I have the latest

  • Hydraulic system - how to control a servo valve?

    Thanks for ur attention. I just set up a oil hydraulic system and mechanism that is such a MTS(material test system). And my question is how to let my cylinder go forward at a constant velocity. Because when the cylinder contact my specimen(I have ma