Add new oitem Error

Hi
with a csharp programm I want to add new oitems into a database SAPB1 but after about 5.000 records the program stops with the follow error "System.OutOfMemoryException" at the row
b_TestExist = oItem.GetByKey("xxx");
even if there is the follow row after the update/add of each record
oItem = null;
GC.Collect();
Is there any solution or something to do to solve it?
Thanks

Hello,
Do the following
loop
Dim oItem as ......
oitem.GetByKey("")
'do you stuff here
System.Runtime.InteropServices.Marshal.ReleaseComObject(oItem)
oitem = nothing
end loop
Regards
János

Similar Messages

  • Add new row error in Adobe Reader

    Hi
    I have created a form in livecycle and when the form is tested in adobe professional 8 it adds rows correctly however when test in reader i get the following error.
    When you ok, it adds the row, but appears every time ‘Add Row’ is clicked.  Also moves all the rows over to the next page and when it gets to bottom of that page moves it all onto next page, leaving page 2 blank.  Also, doesn’t move onto page 4 when adding more rows.
    Anybody have any ideas?

    Hi Niall
    It's me again
    Thanks for you instructions but I now have different issues since turning off the Row Shading.
    This message with a different line number first happens when the form is opened, when you say ok and then try to add a new row it happens again, it then lets you add a row and as soon it gets to the bottom of the page all the rows plus the headings move from the first page on to page 2. I think it is due to the allow page breaks within content box not being ticked in image 2, do you know how I can get this box active?
    Regards
    Graham

  • When trying to update or add new apps to our daughters iTouch she gets and error saying "cannot connnect to iTunes stores."  What to do?  We have reset the password, gone into the apple store and so much more.

    We are trying to update and add new apps to an iTouch and we get an error saying "cannot connect with iTunes store." We have already reset our password.

    Hello jaybearden,
    Thanks for the question. After reviewing your post, it sounds like you are not able to restore the iOS device since you get an error 9. I would recommend that you read this article, it may be able to help the issue.
    Resolve iOS update and restore errors - Apple Support
    Check your security software
    Related errors: 2, 4, 6, 9, 1000, 1611, 9006. Sometimes security software can prevent your device from communicating with either the Apple update server or with your device.
    Check your security software and settings to make sure that they aren't preventing a connection to the Apple servers.
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • My calendar will no longer let me add new event or delete them, it comes up with an error saying "cannot save event, no end date set" or "event does not belong to that event store". can anyone help with this?

    my calendar will no longer let me add new event or delete them, it comes up with an error saying "cannot save event, no end date set" or "event does not belong to that event store". can anyone help with this?

    Hi,
    To configure your ODBC DataSource, go to Control Panel ---> DataSources(ODBC) (If you are in a Windows environment).
    Select the tab System DSN. If you have not added your data source, then do so by clicking on the Add button. If you have added the datasource, click on the Configure button to configure it.
    Give the datasource name, then the database name.
    You have to give the hostname, service name and server name. I guess, in most cases, the datasource name and host name will be the same, service name and server name will be the same. If you are using TCP/IP, the protocol will be onsoctcp.
    There will be a file named Services under C:\WINNT\system32\drivers\etc where you have to give the port number for accessing this server.
    It will be like this <service name> <portnumber>/tcp
    Hope this helps...
    best wishes,
    Nish

  • Error with "Add new Row" button in Master detail VO

    Hi,
    Am having a header VO , Forecast HeaderVO and a child VO
    ForecastLineVO, now forecastHeaderVO has two bind condition attached to it,and when we run header Vo line VO will automatically execute as they are linked by a view link.My child Vo is attached to a advance table, which has a ADD Another Row button,Now when i press the button for the case where no header is is there it shows me a error"Failed to find or invalidate owning entity".
    Below am giving the coding what i have written in the AM to handle the Add New Row button,
    public void createForecastTarget(String month, String year,String fortnight,String forecastmonth,String forecastyear)
    ForecastLineVOImpl vo1=getForecastLineVO();
    ForecastHeaderVOImpl vo=getForecastHeaderVO();
    System.out.println("Start");
    vo.setWhereClauseParam(0,month);
    vo.setWhereClauseParam(1,year);
    //vo.setWhereClauseParam(2,fortnight);
    vo.setWhereClauseParam(2,forecastmonth);
    vo.setWhereClauseParam(3,forecastyear);
    vo.executeQuery();
    if (!(vo1.isExecuted()))
    throw new OAException("ASF", // Message product short name
    "MIS_SEARCH_PENDING");
    // We need to do this on a VO that has not been queried before we insert
    // our first row. We don't want to do it for subsequent inserts.
    System.out.println(vo.getFetchedRowCount());
    if (vo.getFetchedRowCount() == 0)
    // vo.setMaxFetchSize(0);
    int rownum = vo.getFetchedRowCount() ;
    OARow row = (OARow)vo.createRow();
    int rownum1 = vo1.getFetchedRowCount() ;
    System.out.println("In between");
    OADBTransaction transaction = getOADBTransaction() ;
    Number forecastid = transaction.getSequenceValue("MIS_FORECAST_HEADER_S");
    Number forecastlineid = transaction.getSequenceValue("MIS_FORECAST_LINE_S");
    System.out.println(forecastid+" "+forecastlineid);
    row.setAttribute("ForecastId",forecastid);
    row.setAttribute("DataEntryMonth",month);
    row.setAttribute("DataEntryYear",year);
    row.setAttribute("DataEntryFortnight",fortnight);
    row.setAttribute("ForecastMonth",forecastmonth);
    row.setAttribute("ForecastYear",forecastyear);
    vo.insertRowAtRangeIndex(rownum,row);
    vo.clearCache();
    transaction.commit();
    // Required per OA Framework Model Coding Standard M69
    row.setNewRowState(row.STATUS_INITIALIZED);
    OARow row1 = (OARow)vo1.createRow();
    row1.setAttribute("ForecastId",forecastid);
    row1.setAttribute("ForecastLineId",forecastlineid);
    System.out.println("forecast id"+forecastid);
    vo1.insertRowAtRangeIndex(rownum1,row1);
    // Required per OA Framework Model Coding Standard M69
    row1.setNewRowState(row1.STATUS_INITIALIZED);
    else
    int rownum2 = vo1.getFetchedRowCount() ;
    System.out.println(rownum2);//+vo1.getCurrentRow().getAttribute(1))
    System.out.println(vo.first().getAttribute("ForecastId"));
    OARow row2 = (OARow)vo1.createRow();
    row2.setAttribute("ForecastId",vo.first().getAttribute("ForecastId"));
    OADBTransaction transaction = getOADBTransaction() ;
    Number forecastlineid1 = transaction.getSequenceValue("MIS_FORECAST_LINE_S");
    row2.setAttribute("ForecastLineId",forecastlineid1);
    // row2.setAttribute("DeleteAttr", "N");
    vo1.insertRowAtRangeIndex(rownum2,row2);
    // Required per OA Framework Model Coding Standard M69
    row2.setNewRowState(row2.STATUS_INITIALIZED);
    System.out.println("forecast line id"+forecastlineid1);
    Now while debugging i found out that am getting the error in the if block
    in the code
    OARow row1 = (OARow)vo1.createRow();

    Hi,
    Summit ,again am getting the error and i think am getting it in the line when am trying to create one for line VO
    as OARow row1=(OARow)vo1.createRow();
    Below am giving the stack trace
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidOwnerException: JBO-25030: Failed to find or invalidate owning entity.
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1142)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1294)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2396)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1512)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidOwnerException: JBO-25030: Failed to find or invalidate owning entity.
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:985)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:210)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:692)
         at mis.oracle.apps.asf.dcp.frcst.webui.ForecastDealerCO.processFormRequest(ForecastDealerCO.java:158)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:734)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:943)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1546)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:373)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:340)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2392)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1512)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidOwnerException: JBO-25030: Failed to find or invalidate owning entity.
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:985)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:210)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:692)
         at mis.oracle.apps.asf.dcp.frcst.webui.ForecastDealerCO.processFormRequest(ForecastDealerCO.java:158)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:734)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:943)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1546)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:373)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:340)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2392)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1512)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    Please help.

  • 500 Internal Server Error when trying to add new members

    My Workspace is working correctly but when I try to add new users, I get the following error:
    500 Internal Server Error
    Thanks
    Michel C.

    Hello Michel,
    How are you processing to add new members?
    You should be manager of your workspace and
    - go to http://beehiveonline.oracle.com
    - click on buttom "Create Group or Add New Members"
    - Choose your group
    - CLick on the link "Add new member"
    regards
    Fred

  • Get error when add new object in crystal report

    hi
    i have this error "You are attempting to use functionality that falls under the Crystal Decisions Report Creation API license. This system does not have a valid license, or the evaluation copy of the license has expired. Please contact Crystal Decisions to obtain a Report Creation API license."
    when i add new object in crystal report with vb.net
    ""CRReport.Sections.Item(ii).AddTextObject("new text", 1000, 0)
    i do same program for 3 months ago but i lost it work without error
    ihave a license key for crystal report
    use cr10 with vb.net 2005
    can help me
    thanks

    Also, check out the blog [Use of the Report Designer Component (RDC) in VS .NET|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414700)ID0468837450DB00359707053703393347End?blog=/pub/wlg/15939].
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Error in add new Salaries

    I Got error as bellow when add new salaries :
    ORA-01422: exact fetch returns more than requested number of rows in Package hr_maintain_proposal_swi Procedure insert_salary_proposal
    which table should be check for duplicate?

    The base table where salary proposal details are present is called 'per_pay_proposals'. Check in this table if there are duplicate/overlapping rows for the assignment.

  • Ever since downloading Itunes 11 I have not been able to add new cds to my library.  I keep getting a message that an error occured while converting the file.  An unknown error occured (-69).

    Ever since I downloaded Itunes 11 I have not been able to add new CDs to my library.  I keep getting this message: Error occured while converting the file "..." An uknown error occured (-69).

    Did you already try to restore your device? Restoring iPod to factory settings
    Other solutions for this errror are mentioned here: iTunes: Error 13019 during sync

  • IC Web Client  -- ADD NEW ERROR MESSAGE

    Hi all;
    I need to add a new error on the IC Web CTI toolbar to show an ‘Phone is busy’ error message whenever the outbound call status is busy. I have added the related message in the class through tramsaction SE91.
    Now I should implement the following code and the addings:
    lv_msgsrv = CL_BSP_WD_MESSAGE_SERVICE => GET_INSTANCE( ).
    lv_msgsrv-> ADD_MESSAGE ( iv_msg_type = 'E'
    iv_msg_id = 'CRM_IC_APPL_UI_BPID'
    iv_msg_number = '503' ).
    But I don’t know exactly where to implement; I created a new class ZCL_CRM_IC_ERRORCONTROLLER_IMPL but the method that I think I should put the code (GET_AND_PREPARE_MESSAGES) is a private method SO I Can not REDEFINE it. In this case I’m a little bit helpless about what I should do now.
    Any help in this regard would be highly appreciated.
    Thanks in advance!
    Best  Regards,
    Elif

    Hi,
    Following are the steps to add new fields to the existing view.
    - Create a new controller class (ZCL..) with original view class as super class
    - Create new BSP application with View and Controller
    - Attach the above Z class to the view and controller created and activate the BSP appln.
    - Go to transaction BSP_WD_WORKBENCH and type your BSP appln.
    - Expand your controller and at the Context class use Wizard to create new context node and bind this to Custom Controller class available.
    This whole process requires complte understanding of View, Controller, Custom controller and basic custom modifications to IC Web Frame work.
    Kunda Krishna Kishore

  • Running Firefox 10.0.2, cannot add new search engines from Mycroft Project. Error message: "you will need a browser which supports opensearch to install this plugin" Please help with steps on how to fix this issue in Firefox, thank you

    Can't add new search engines from Mycroft Project in FF 10.0.2. Error message states: "you will need a browser which supports opensearch to install this plugin"

    You're welcome.
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    *Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Help!!! error after add new field use EEWB

    Hello,
    I add a new field through EEWB. The new field is add on Complaints header called Internal Reference.
    I use wizard of EEWB to add new field , business object: CRM business transaction, then in the wizard, I choose complaints as the type of the transaction, and I check the "search" box for the field, because I also need to use it as search criterial.
    Then I go into the BSP_WD_CMPWB, the new field is already available for component BT120H_CPL, view Details. And it is also available for the search view.
    So far, everything looks fine.
    But when I go into the UI for testing, when I perform the complaints search and click one record to go into the complaints view, it gives me a exception on header. I use SAAB to check the details, it like following:
    BTExtRefSet.BTEXTREF/MainWindow
    An exception has occurred Exception Class  CX_BSP_WD_INCORRECT_IMPLEMENT - Define Application Component 'BTExtRefSet'. 
    Method:  CL_BSP_WD_REPOSITORY=>GET_CMP_USAGE_DEF 
    Source Text Row:  9
    Is there anything I missing to do so I get such error message???
    Edited by: SAP-Basis on Dec 1, 2008 5:12 PM

    Hi All,
    I have the same error but I am not usig EEWB.
    I am trying to display my custom set types as assignment blocks in the Web UI on 'objects' view. I able to see my set type as assignment block, but when I click on it, I have this error:
    ZXXX.PRDGENSET/SLSetOVE
    An exception has occurred Exception Class CX_BSP_WD_INCORRECT_IMPLEMENT - Define Application Component 'ZXXX'.
    Method: CL_BSP_WD_REPOSITORY=>GET_CMP_USAGE_DEF
    Source Text Row: 9
    ZXXX - set type name.
    I doubt my enhancement set is not getting loaded.
    Could you please let me know how do I solve this error.
    Thanks,
    Aditya.

  • Error When trying to add new user field to OCHH table

    Hi
    can you please check the following code ? I am geting an error "Ref count for this object is higher than 0"
    Dim RetVal, ErrCode As Integer
            Dim ErrMsg As String
            Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
            oUserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
            ' Adding "BPCode" field
            '// Setting the Field's properties
            oUserFieldsMD.TableName = "OCHH"
            oUserFieldsMD.Name = "OBJ"
            oUserFieldsMD.Description = "OB Code"
            oUserFieldsMD.Type = SAPbobsCOM.BoFieldTypes.db_Alpha
            oUserFieldsMD.EditSize = 2
            '// Adding the Field to the Table
            RetVal = oUserFieldsMD.Add
            '// Check for errors
            If RetVal <> 0 Then
                oCompany.GetLastError(RetVal, ErrMsg)
                MsgBox(ErrMsg)
            Else
                'chkUDOAfter.SetItemChecked(1, True)
                MsgBox("Field: '" & oUserFieldsMD.Name & "' was added successfuly to " & oUserFieldsMD.TableName & " Table")
            End If
    Thanks
    George

    Hi Denilo
    Your suggestion did not solve the problem . I want to add that the code works fine with user-tables but not when I try with OCHH
    Thanks
    George
    After alot of search
    GC.select
    Did the job
    Thanks again
    Regards
    George
    Edited by: George Pachakis on Sep 7, 2009 6:51 PM
    Edited by: George Pachakis on Sep 7, 2009 6:54 PM

  • In LR 4.4, can no longer add new photos/video

    Windows Vista, Service Pack 2.  4 GB RAM.
    I've had LR 4 for more than 2 years.  Worked just fine.  Have not used for past year, as I have been traveling.  Now, I cannot add new photos or video to my catalog.  I have tried using my usual method of "Optimize Folder."  Always freezes at 70%.  Also tried via "Import into folder."  Hit the same 70% wall.  I sometimes get an "out of memory" error message, but not always.
    Steps I've taken.
    a.  Reboot computer.  (Obviously).
    b.  Ensure that LR is only program running.
    c.  Moved a ton of data from hard drive to an external hard drive (since error message did not specify what type of memory I was out of, I wanted to make sure I eliminated "not enough hard drive space" as an possible problem.  I have more than 1 Terra-byte of available memory/space right now.
    d.  Uninstalled entire program, downloaded most recent version, and reinstalled it.
    What should I do?  Not sure what else to try.

    To clarify, it turns out that base.keychain does not need any repairing. It merely needs to reside in a writeable directory.
    As for moving this keychain to ~/Library/Keychains, I don't doubt that the suggestion is appropriate in general, and that's certainly where my login keychain resides. But I use base.keychain for a variety of sensitive passwords which I cannot afford to lose, some of which have nothing to do with my computer. (Yes, I know this is what backups are for.) I had also contemplated FileVault'ing my home directory at one point, so I wanted to be sure I kept critical passwords accessible no matter what went wrong.
    Perhaps / is a bad choice. Perhaps /Library/Keychains would have been better. Where would you put a keychain that didn't really belong under /Users?

  • Crystal Report  not listed Add New Item for Visual Studio 2010

    I just finished installing cryestal report for visual studio 2010.
    During the installation a visual studio error dialog popped up "Operation cannot be completed. Access Denied", the crystal report installation continued and was informed that the installation was successful.
    But on opening my visual studio project to add new item,  crystal report item is not listed there.
    Is there anything that needs to be done to get it listed in the Add New Item dialog for visual studio?

    I wonder what file you ran to install CRVS2010? Was it the MSI as opposed to the actual install file?
    The link to the correct install is here:
    http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_2.exe
    Is that the file you ran to install CRVS2010? E.g. as opposed to:
    http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0_2.zip
    - Ludek

Maybe you are looking for