Error while fetching more than 1000 mysql records

I'm trying to fetch data from a MySQL database through PHP to a Flex application. When there are more than 1000 records in the resultset, the FaultEvent is returned. When I limit it to 1000 records, no problem at all. Any ideas? Code below:
public function OldCustomerService(method:String=HTTPRequestMessage.POST_METHOD, resultFormat:String=RESULT_FORMAT_E4X, showBusyCursor:Boolean=true)
            super(null, null);
            this.requestTimeout = 0;
            this.method = method;
            this.resultFormat = resultFormat;
            this.showBusyCursor = showBusyCursor;
        public function getAllProspects():void {
            this.url = ALL_PROSPECTS_URL;
            this.addEventListener(ResultEvent.RESULT, getAllProspectSuccess);
            this.addEventListener(FaultEvent.FAULT, DAOUtil.communicationError);
            var oldCustomersToken:AsyncToken = this.send();

It works with fewer records so it would be weird if it would be a php or mysql error. Seems to me Flex isn't waiting until everything is in. To give you a better idea of what's happening, I'll post the PHP code:
<?php
* Created on 19-mrt-10
* To change the template for this generated file go to
* Window - Preferences - PHPeclipse - PHP - Code Templates
     include '../../application/general/php/general.php';
     // connect to the database
     $mysql = mysql_connect(DATABASE_SERVER, DATABASE_USERNAME, DATABASE_PASSWORD) or die(mysql_error());
    // select the database
    mysql_select_db( DATABASE_NAME );
    // query the database to retrieve all customers.
    $query = "SELECT * FROM stores";
    $result = mysql_query($query);
    //start outputting the XML
    $output = "<result>";
    if($result) {
        $output .= "<success>yes</success>";
        $output .= "<stores>";
        // create a store tag for each retrieved store
        while($customer = mysql_fetch_object($result)) {
            $output .= "<store>";
            $output .= "<naam>$customer->naam</naam>";
            $output .= "<adres>$customer->adres</adres>";
            $output .= "<postc>$customer->postc</postc>";
            $output .= "<wpl>$customer->wpl</wpl>";
            $output .= "<land>$customer->land</land>";
            $output .= "<telprive>$customer->telprive</telprive>";
            $output .= "<telbureau>$customer->telbureau</telbureau>";
            $output .= "</store>";
        $output .= "</stores>";
    } else {
        $output .= "<success>no</success>";
        $output .= "<error>\n";
        $output .= "Reason: " . mysql_error() . "\n";
        $output .= "Query: " . $query ."\n";
        $output .= "</error>";
    $output .= "</result>";
    print ($output);
    mysql_close();
?>
When the error occurs, I get a <success>yes</success> and yet again the Fault error is thrown. Again, with fewer records, no problem.

Similar Messages

  • Fetch more than 1000 records

    Hi,
    I am using APEX_ITEM.SELECT_LIST_FROM_QUERY_XL(). When I try to fetch more than 1000 records in PL/SQL block .It throws character string buffer too small. I donot know how much records it will fetch because it is dynamically generated.
    could you please anyone help me out.

    Hi
    I agree that a popup LOV would be better, for two reasons:
    1 - Even if you could construct a select list with over 1,000 items, users may find it awkward to use as they would have to scroll to find the item they want - at best they could type in the first character of an item but they'd have to scroll from then on or keep pressing the same character to move down one item at a time.
    2 - The fact that you're using that function to generate the list implies that you are using a tabular form and, therefore, that there will be several instances of the list on your page. If so, the time taken to generate the page and download it may slow page load time considerably.
    If you do need to have select lists, there are techniques that you can use to do this - typically, this would involve creating small lists in the form, a hidden select list created as a normal page item and then using javascript to copy the hidden list items into the tabular form fields.
    Andy

  • Error while creating more than 100 users using Flatfile Recon

    Hi,
    I am trying to create users in OIM 9.1 using flat file recon. The recon works when I have less than 100 users in the flatfile. But if I add more than 100 users to the file, the recon does not create all users. Less than 50 users get created in OIM if the number of users in the flat file is more than 100. I get the below error in this scenario.
    2012-11-28 23:08:27,599 ERROR [XELLERATE.ACCOUNTMANAGEMENT] Class/Method: tcDefaultSignatureImpl/verifySignature encounter some problems: object not initialized for verification
    2012-11-28 23:08:27,599 ERROR [XELLERATE.ACCOUNTMANAGEMENT] Class/Method: Authenticate/connectSignature encounter some problems: object not initialized for verification
    2012-11-28 23:08:27,600 ERROR [XELLERATE.ACCOUNTMANAGEMENT] Class/Method: Authenticate/connect encounter some problems:
    com.thortech.xl.security.tcLoginException:
         at com.thortech.xl.security.tcLoginExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.security.tcLoginExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.security.Authenticate.connectSignature(Unknown Source)
         at com.thortech.xl.security.Authenticate.connect(Unknown Source)
         at com.thortech.xl.security.Authenticate.connect(Unknown Source)
         at com.thortech.xl.security.jboss.UsernamePasswordLoginModule.login(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    Is there any maximum limit to the number of users created in Flatfile recon? I also get lot many errors following the above error. Please suggest
    Edited by: User_OIM on Nov 26, 2012 9:37 PM

    Hi Rajiv,
    I am using GTC for the recon. Below is the complete log
    com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-11-28 23:08:22,052 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session:
    2012-11-28 23:08:27,599 ERROR [XELLERATE.ACCOUNTMANAGEMENT] Class/Method: tcDefaultSignatureImpl/verifySignature encounter some problems: object not initialized for verification
    2012-11-28 23:08:27,599 ERROR [XELLERATE.ACCOUNTMANAGEMENT] Class/Method: Authenticate/connectSignature encounter some problems: object not initialized for verification
    2012-11-28 23:08:27,600 ERROR [XELLERATE.ACCOUNTMANAGEMENT] Class/Method: Authenticate/connect encounter some problems:
    com.thortech.xl.security.tcLoginException:
         at com.thortech.xl.security.tcLoginExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.security.tcLoginExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.security.Authenticate.connectSignature(Unknown Source)
         at com.thortech.xl.security.Authenticate.connect(Unknown Source)
         at com.thortech.xl.security.Authenticate.connect(Unknown Source)
         at com.thortech.xl.security.jboss.UsernamePasswordLoginModule.login(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
         at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)
         at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)
         at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
         at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:211)
         at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:135)
         at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
         at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637)
         at org.jboss.ejb.Container.invoke(Container.java:981)
         at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:359)
         at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133)
         at $Proxy278.create(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.tcBaseUtilityClient.getLocalInterface(Unknown Source)
         at Thor.API.Operations.tcReconciliationOperationsClient.getDefaultDateFormat(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.GCOperationsBean.getDefaultDateFormat(Unknown Source)
         at com.thortech.xl.ejb.beans.GCOperationsSession.getDefaultDateFormat(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
         at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
         at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
         at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
         at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
         at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
         at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
         at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
         at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
         at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
         at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
         at org.jboss.ejb.Container.invoke(Container.java:960)
         at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
         at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
         at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
         at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
         at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
         at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
         at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
         at $Proxy368.getDefaultDateFormat(Unknown Source)
         at Thor.API.Operations.GCOperationsClient.getDefaultDateFormat(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
         at $Proxy798.getDefaultDateFormat(Unknown Source)
         at com.thortech.xl.gc.runtime.GCScheduleTask.execute(Unknown Source)
         at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    2012-11-28 23:08:27,602 ERROR [XELLERATE.APIS] Class/Method: tcBaseUtilityClient/getLocalInterface encounter some problems: {1}
    java.lang.reflect.InvocationTargetException
         at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.tcBaseUtilityClient.getLocalInterface(Unknown Source)
         at Thor.API.Operations.tcReconciliationOperationsClient.getDefaultDateFormat(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.GCOperationsBean.getDefaultDateFormat(Unknown Source)
         at com.thortech.xl.ejb.beans.GCOperationsSession.getDefaultDateFormat(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
         at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
         at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
         at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
         at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
         at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
         at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
         at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
         at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
         at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
         at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
         at org.jboss.ejb.Container.invoke(Container.java:960)
         at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
         at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
         at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
         at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
         at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
         at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
         at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
         at $Proxy368.getDefaultDateFormat(Unknown Source)
         at Thor.API.Operations.GCOperationsClient.getDefaultDateFormat(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
         at $Proxy798.getDefaultDateFormat(Unknown Source)
         at com.thortech.xl.gc.runtime.GCScheduleTask.execute(Unknown Source)
         at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Caused by: javax.ejb.AccessLocalException: SecurityException
         at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:384)
         at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:136)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
         at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637)
         at org.jboss.ejb.Container.invoke(Container.java:981)
         at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:359)
         at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133)
         at $Proxy278.create(Unknown Source)
         ... 55 more
    Caused by: com.thortech.xl.security.tcLoginException:
         at com.thortech.xl.security.tcLoginExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.security.tcLoginExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.security.Authenticate.connectSignature(Unknown Source)
         at com.thortech.xl.security.Authenticate.connect(Unknown Source)
         at com.thortech.xl.security.Authenticate.connect(Unknown Source)
         at com.thortech.xl.security.jboss.UsernamePasswordLoginModule.login(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
         at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)
         at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)
         at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
         at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:211)
         at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:135)
         at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
         ... 61 more
    2012-11-28 23:08:27,605 ERROR [XELLERATE.GC.FRAMEWORKRECONCILIATION] Reconciliation Encountered error:
    Thor.API.Exceptions.tcAPIException: Unable to retrieve default date format
         at com.thortech.xl.ejb.beansimpl.GCOperationsBean.getDefaultDateFormat(Unknown Source)
         at com.thortech.xl.ejb.beans.GCOperationsSession.getDefaultDateFormat(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
         at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
         at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
         at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
         at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
         at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
         at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
         at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
         at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
         at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
         at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
         at org.jboss.ejb.Container.invoke(Container.java:960)
         at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         ceptor.invoke(SecurityInterceptor.java:70)
         at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
         at $Proxy368.getDefaultDateFormat(Unknown Source)
         at Thor.API.Operations.GCOperationsClient.getDefaultDateFormat(Unknown Source)
         Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Caused by [Nested Exception]:
    Thor.API.Exceptions.tcAPIException
         at Thor.API.Base.tcBaseUtilityClient.getLocalInterface(Unknown Source)
         at Thor.API.Operations.tcReconciliationOperationsClient.getDefaultDateFormat(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.GCOperationsBean.getDefaultDateFormat(Unknown Source)
         at com.thortech.xl.ejb.beans.GCOperationsSession.getDefaultDateFormat(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
         at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
         at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
         at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
         at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
         at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
         at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
         at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
         at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
         at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
         at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
         at org.jboss.ejb.Container.invoke(Container.java:960)
         at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    2012-11-28 23:08:27,607 WARN [XELLERATE.GC.FRAMEWORKRECONCILIATION] Though Reconciliation Scheduled task has encountered an error, Reconciliation Transport providers have been "ended" smoothly. Any provider operation that occurs during that "end" or "clean-up" phase would have been executed e.g. Data archival. In case you want that data to be a part of next Reconciliation execution, restore it from Staging. Provider logs must be containing details about storage entities that would have been archived
    2012-11-28 23:08:27,704 ERROR [XELLERATE.SERVER] Class/Method: QuartzWrapper/execute encounter some problems: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
    org.quartz.JobExecutionException: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
    [See nested exception: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    * Nested Exception (Underlying Cause) ---------------
    java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3462)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1349)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.updateStatusToError(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.access$600(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    2012-11-28 23:08:27,704 INFO [org.quartz.core.JobRunShell] Job DEFAULT.FLAT RECON_GTC threw a JobExecutionException:
    org.quartz.JobExecutionException: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
    [See nested exception: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    * Nested Exception (Underlying Cause) ---------------
    java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3462)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1349)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.updateStatusToError(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.access$600(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

  • Error while importing more than one Contact Persons

    Hi experts,
    I am trying to import 2 Contact Persons in the same Business Partner using DI.
    My issue is that only on the second  Contact Person all fields are correct. On the first Contact Person, all fields except the "Name" are blank.
    Has anyone seen that before?
    Thank you in advance,
    Aris

    Hello Aris,
    Could you post your code? I think you don't add a line or set the line correct.
    See this example from the sdk-help:
    Private Sub cmdTest_Click()
       On Error GoTo ErrorHandler
       Dim vCompany As SAPbobsCOM.Company
       'create company object
       Set vCompany = New SAPbobsCOM.Company
       'set paras for connection
       vCompany.CompanyDB = "SBODemo_US"
       vCompany.Password = "manager"
       vCompany.UserName = "manager"
       vCompany.Server = "(local)"
       'connect to database server
       If (0 <> vCompany.Connect()) Then
          MsgBox "Failed to connect"
          Exit Sub
       End If
       Dim nErr As Long
       Dim errMsg As String
       'do it now
       Dim vBP As SAPbobsCOM.BusinessPartners
       Set vBP = vCompany.GetBusinessObject(oBusinessPartners)
       vBP.CardCode = "HU1003"
       vBP.CardName = "ABCD"
       vBP.CardType = cCustomer
       vBP.CommissionGroupCode = 0
       vBP.CommissionPercent = 15
       vBP.Company_Private = cPrivate
       vBP.ContactPerson = "C1"
       vBP.Currency = "$"
       vBP.DiscountPercent = 15
       vBP.VatLiable = vLiable
       vBP.ShippingType = 3
       Call vBP.ContactEmployees.Add
       Call vBP.ContactEmployees.SetCurentLine(0)
       vBP.ContactEmployees.Name = "C1"
       vBP.ContactEmployees.Address = "LN"
       vBP.ContactEmployees.E_Mail = "c1atabcd.com"
       vBP.ContactEmployees.Fax = "8433777778"
       vBP.ContactEmployees.MobilePhone = "8388888"
       vBP.ContactEmployees.Phone1 = "88880000"
       Call vBP.ContactEmployees.SetCurentLine(1)
       vBP.ContactEmployees.Name = "C2"
       vBP.ContactEmployees.Address = "BJ"
       vBP.ContactEmployees.E_Mail = "c2atabcd.com"
       vBP.ContactEmployees.Fax = "84338"
       vBP.ContactEmployees.MobilePhone = "877388888"
       vBP.ContactEmployees.Phone1 = "8888300"
       If (0 <> vBP.Add()) Then
           MsgBox ("Failed to add an business partner")
       Else
           Dim objCode As String
           MsgBox ("Succeeded add a business parnter, new objcode=" + vBP.CardCode)
           vBP.SaveXml ("c:\temp\BP" + vBP.CardCode + ".xml")
       End If
       'Check Error
       Call vCompany.GetLastError(nErr, errMsg)
       If (0 <> nErr) Then
           MsgBox ("Found error:" + Str(nErr) + "," + errMsg)
       End If
       'disconnect the company object, and release resource
       Call vCompany.Disconnect
       Set vCompany = Nothing
       Exit Sub
    ErrorHandler:
       MsgBox ("Exception:" + Err.Description)
    End Sub
    HTH Regards Teun

  • How to reduce time while deleting more than 300K records ?

    Hi,
    I am using SQL SEVER 2008 R2. I've a doubt, if there any possible to reduce executing time while deleting  more than 3 lakhs records. I will explain about the table structure. Table_Name : test. In that table have 15 Columns , 6 Indexes ,Foreign and
    Primary Key releationships. 
    Query :  DELETE FROM test WHERE roleid=1      [roleid is not primary key]
    Message: (308240 row(s) affected) 
    Time : 28 seconds.
    Cheers,
    RAM BHARATH

    Hi,
    I am using SQL SEVER 2008 R2. I've a doubt, if there any possible to reduce executing time while deleting  more than 3 lakhs records. I will explain about the table structure. Table_Name : test. In that table have 15 Columns , 6 Indexes ,Foreign and
    Primary Key releationships. 
    Query :  DELETE FROM test WHERE roleid=1      [roleid is not primary key]
    Message: (308240 row(s) affected) 
    Time : 28 seconds.
    Cheers,
    RAM BHARATH
    I suppose Roleid has index on it ?. 3 lac records getting deleted in 28 sec i think its ok as delete operation takes exclusive lock .Exclusive lock is not compatible with other locks so some delay might be expected 
    You should check blocking process if any by using sp_who2 to see if your process is waiting on any resource or is blocked by some other SPID.
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Can columns be more than 1000 in a select query (oracle 11 g)

    I am getting this error: "ORA-01792: maximum number of columns in a table or view is 1000"
    I have a dynamic query where number of column can increase according to the user input.
    They can expect more than 1000 columns. Is it possible to fetch more than 1000 rows in a query?
    I appreciate all your help.
    Edited by: user10232912 on Apr 26, 2012 2:07 AM

    >
    They can expect more than 1000 columns.
    Then they are idiots. IMO.
    Open challenge. Show me an entity with a 1000 attributes and I will show you a flawed data
    model and a total lack of grasping fundamentals of implementing that into a relation database product like Oracle.I second that - as someone who once had to ETL a system which had a table with 35.000 fields - that's 35K.
    It was a system which made extensive use of arrays - and arrays of arrays of arrays...
    Paul...

  • Oci error in report 6i in reports with more than 1000 pages

    hi
    in a report that has more than 1000 page output , run in report 6i while formatting pages an error occurs:
    OCI error.==>SELECT NAME,
    what this means?
    please help me.
    CAROL.

    in reports that i know number of pages for example 1100 pageswhile formatting pages 150-200 this error occurs.
    Did you get the error if total report pages < 1100?
    indeed in another report with about 3500 pages output this error not occurs. Any diff. of setting/limits etc. between your two reports?

  • Can we upload more than 1000 records with BPS file upload pf

    We are using file upload functionality in BPS. Can we use this function to upload around 80,000 records at a time.
    We are unable to upload more than 1000 records because throws a time out error. Is there a setting that we can change to resolve this?

    Hi,
    Can you check the following note  about BW system parameters :
    [https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=192658]
    Check the work Process time set for your BW system
    Is your application web based ?
    Pratyush

  • Writeback error when updating number more than 1000- URGENT!!

    Hi,
    I am suing writeback feature in OBIEE 11g, the xml script I am using is
    <?xml version="1.0" encoding="utf-8" ?>
    - <WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">
    - <WebMessageTable lang="en-us" system="WriteBack" table="Messages">
    - <WebMessage name="writeback">
    - <XML>
    - <writeBack connectionPool="connectionpool">
    <insert>INSERT INTO XXINPT_WRITE_BACK(RECORD_ID,BUDGET_CATEGORY,BUDGET_SUB_CATEGORY,DESCR_SEGMENT2,JUL,AUG,SEP,OCT,NOV,DEC,JAN,FEB,MAR,APR,MAY,JUN,TOTALS) VALUES('@1',@2,@3,@4,@5,@6,@7,@8,@9,@10,@11,@12,@13,@14,@15,@16,@17)</insert>
    <update>UPDATE XXINPT_WRITE_BACK SET "JUL"=@5,"AUG"=@6,"SEP"=@7,"OCT"=@8,"NOV"=@9,"DEC"=@10,"JAN"=@11,"FEB"=@12,"MAR"=@13,"APR"=@14,"MAY"=@15,"JUN"=@16 WHERE "RECORD_ID"='@1'</update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    I am able to update values less than 1000 but I am getting a writeback error when I try to update values more than 1000 please help, It is very urgent.
    Thanks in advance.

    Hi, It is just saying writeback error. there is no other information. Do not know where to check the log file.

  • Error occurs when executing an item in an inbox with more than 1000 entries

    Hi Everyone,
    One of our approvers in SRM experienced an error when his inbox contained more than 1000 entries .  Further execution on any inbox item produces errors.
    Would you know where to set the maximum allowable entries in a user's inbox? Can this be set thru SRM config or Basis functionality?
    We also searched for existing SAP Notes but found nothing.
    Your inputs and help are greatly appreciated.
    Thanks and Regards,
    Vhong

    Hello,
    The user has sent me the screen shot. But this has no error messages. The approval transaction shows an ITS screen/code with template 'bbpapproval/99/saplbw02_1200.html'
    However, we have a user in Quality where the page displays with no problem and with 1675 Entries.
    Do you think this is more of an ITS setting or any Template/JavaScript issues?
    I got this code (view source code) earlier today and the topmost header of the code is:
    <!--
    This page was created by the
    SAP Internet Transaction Server (ITS, Version 6200.1025.7214.5, Build 908978, Virtual Server Q36, Add. service info none, WGate-AGate Host esetnmw028, WGate-Instance Q36)
    All rights reserved.
    Creation time:  Mon Mar 15 07:21:39 2010
    Charset:        iso-8859-1
    Template:       bbpapproval/99/saplbw02_1200.html
    -->
    Regarding the not-so-good practice of approvers to have more than 1000 entries in their inbox, we are still in the process of planning on how to divide the task to different approvers since there is only one approver (Project Manager) for the related network.
    Thanks and Redards,
    Vhong

  • Error Creating Invoices with more than 1000 positions

    Hello.
    I am creating invoices in SD module with VF01 transaction.  When the document has more than 1000 positions an error is displayed.
    The text of the error is:
    Memory area p.status GUI SAPMV60A SM is too small.
    área memoria p.status GUI SAPMV60A SM demasiado pequeña.
    I would like to know if there is any way to correct this error. If it happens because memory is too small, how could it be increased?
    Thank you.
    Diana Carolina.

    Hi Diana
    As far as I know, standard SAP has restricted the no. of line items in an accounting document to 999.
    So, this is in turn impacts the no. of line items you can have on a Sales invoice,
    Since every invoice  line item can have atleast 2 accounting entries, the max. no. of  invoice line items you can have is 499.
    I dont think there is no work around for this
    Rgds

  • More than 1000 record in IN clause

    RDBMS : Oracle 10.2
    OS : CentOS 5
    Hi,
    I have a situation where I have to compare more than 1000 ids in my IN clause.
    I have used something like
    slect col,col2....
    from tble ......
    where .....
    and id in (--first 1000 ids ---)
    or id in (--next 1000 ids ---);
    the query is taking a lot time. If I omit second IN clause, it executes instantly .
    Can you please suggest how to handle such situation ?

    Take your full list of 2000 ids, paste them into a program like Notepad++ (or even regular notepad) then use the replace function to replace all commas with: " from dual union all select ". Add "with a as (select " to the front and " from dual)" to the end also add an alias like aid to the first item in the list. Paste that on the front of your query and change your "in" clause to say "id in (select aid from a)"
    Then instead of this:
    select col,col2
      from tble
    where id in (1,2,3,4,5);you'll use this:
    with a as (select 1 aid from dual union all
               select 2 from dual union all
               select 3 from dual union all
               select 4 from dual union all
               select 5 from dual)
    select col,col2
      from tble
    where id in (select aid from a);

  • System.ArgumentException: Illegal characters in path. When Processing More than 1 lakh records.

    Hi ALL,
    I am Having a trouble with processing the files using c# language. as it's giving the error saying that Illegal character into the path.
    although i am using below regular expression for checking and removing the illegal character by another method.
    Regex pattern = new Regex("\\/:*?\"<>|");
    Some of the records are being processed correctly  that means , records are being fetched from the database and written to the file system correctly by using BinaryWriter class.
    Can anybody help me for this error to resolve.
    Note:- There are more than 1 lakh records to be processed.

    Hi Michael Taylor,
    I have used the log4net to catch the errors while my loop was 
    continuing till the end of the processing of those many records.
    Also System.IO.Path.GetFileName(filename) was throwing the error ,
    so i have check the filename with regular expression and replace illegal character from there and then 
    call the System.IO.Path.GetFileName(filename) method.
    i have use Regex illegalInFileName = new Regex(@"[\\/:*?""<>|]");
    this regular expression to replace illegal character.

  • I am running a strain gage test and can't get more than 1000 samples

    A formor employee left a strain gage VI that I am attempting to reuse but no matter what I do I can,t get more than 1000 samples before needing to restart the loop. In the task timing (of NI-DAQmx) I have set the acquisition mode to N Samples and the clock settings to read 65000 samples at 25 Hz. There is a DAQmx timing(sample clock) VI that resets to finite samples and 1000 per channel when I close it but I have reset it to 65500 continious samples and left it open to no avail. There is a rate input to this sample clock on the front window that I have tried setting to several different rates to no avail. The Vi will run about 15 seconds, collect 1000 samples and then ask to verify the file location to save the data to. Upon verifying the file location the VI will run another 15 sec. loop before stopping for verification again.
    If the loop is stopped rather thanhaving the file verified an error is listed:
    Error-200278 occurred at DAQmx Read (Analog 1d WFm NChan NSamp).vi:1
    The given possible reason given is: attempted to read a sample beyond the final sample acquired.
    When I stop attempting to run the VI the block diagram opens with a dark block around file creation block. I need this VI to run for 10 min. collecting samples at about 25/sec. Can someone help me figure out what I am doing wrong?
    I have made screen shots of the VI and the error code to assist finding the incorrect programing.
    Thank you for your help.
    Jim Steinmeyer
    Jim Steinmeyer
    Design Engineer
    Reinke Mfg.
    PO 566
    Deshler NE 68340
    [email protected]
    Attachments:
    strain test error.doc ‏493 KB

    Thank you,
    I was just thinking about being able to increse the size of the doc.  for better visability. I have tried working with the rate input for the DaQmx for the sample clock and it does change the frequency of sampling, but I still get just the 1000 samples. I have included Jpegs this time. I have tried to exppand the two DAQ assistants that arn't expanded but am unable to, I also am unable to find a "propertys" command to open them up and see what exactly they do. The nested while loop for output also seems strange to me. Maybe I would be better to attempt a new program but being new to the language I thought using an existing program might be best.
    Jim
    Jim Steinmeyer
    Design Engineer
    Reinke Mfg.
    PO 566
    Deshler NE 68340
    [email protected]
    Attachments:
    block diagram.JPG ‏134 KB
    DAQmx.JPG ‏129 KB

  • IN operator with more than 1000 values

    Hi,
    For a given list of IDs (PKs), I need to fetch the corresponding rows.
    The problem is that I have more than 1000 values and as far as I know that IN operator is limited to 1000
    values.
    I thought about using UNION such that each Select contains up to 1000 IDs.
    example":
    select * from temp where id in(1....1000)
    union all
    select * from temp where id in(1001....2000)
    Is there a better way to do that?
    Thanks
    dyahav

    As others have presented technical solutions, i'll present you a logical one (seemingly logical anyways, but it will depend on your application).
    I have seen some applications where you get
    select * from some_table where ... <conditions>;That result set is returned to the front end and presented to the users who then pick a series of records and submit another request to the database which ends up being...
    --note, this could be a many table join, with lots more information that just the some_table, this is illustrative only
    select * from some_table where pk_value in (super_super_duper_list_based_on_last_result_set);If this mimics what you have in your application, i'd recommend just fixing it so the users can select a reasonable set of data, OR the entire set (in the last case you'd just send the <conditions> instead of a massive list of PK values).
    Again, highly speculative but i thought i'd mention it in the off chance it's useful to you.

Maybe you are looking for

  • Troubleshooting pop-up menu in Dreamweaver 8

    Hello, I'm using Macromedia Dreamweaver 8. 1. Created a pop-menu woith 6 items all linking to 6 different anchors in a different page. 2. The first 5 items work fine - they link up to the 5 anchors in the destination page. 3. The 6th item when clicke

  • Acrobat automation

    I have an activeX adobe acrobat container, I am able to get the files to load in the pdf but when I invoke the print the window is not modal and is lost behind the labview caller.  Is there a way to prevent this?  Worse yet, the caller can be closed

  • GF-cam and Final cut Pro

    Hi, The company that I work for as an editor is going to invest in some nice, new Ikegami HDS-V10 camera's. We work with FCP 7 so I have to find out what will be the best workflow for our systems with the material the camera produces. The camera reco

  • Changes done in message mapping is not reflecting in output

    Hi all, i have created one scenario XML to XML and i before i had done 1 to 1 mapping, i got the output also. but when i changed few calculation in the message mapping there is one node "name" and "Description" in source and target in both places. i

  • Setting up DAQ system for testing (using pressure transducer, linear position sensor and strain gauges)

    Hello, I like to get your suggestion in setting up the DAQ system. I am very beginner in this issue. These SCXI listed below are what we have in the laboratory. I will use DAQ card 6062E. SCXI 1000 SCXI 1520 SCXI 1140 SCXI 1142 SCXI 1305 , 1302 , 130