Search these areas:
Help
Support Forums
Product Info



-Introduction
-DataWeb: What's New
-Creating an Application
-The DataWeb Designer
-Application Management
-Data Tables
-Data Tables
-Views
-Templates
-Components
-Data Analysis
-Members
-Security
-Importing
-Exporting
-FTP
-JavaScript
-Object Model
-Full-Text Search
-Domain and Email Hosting
-HotBlock Modules
-Account Management
-Glossary
-New Responsive UI Module





DataWeb Help
Support Forums
Tutorial
Script Library
Knowledge Base

Home > Support

Script Library

  Transfering Larger Amounts of Data
 
  chubbard posted this script:
  When using the Data Transfer Wizard, I sometimes encounter a Row modification limit exceeded error. To work around those limits, I wrote the following utility:

//
//  Copies large amounts of data from SRCTABLE to DESTTABLE
//
webcall function massTransfer( srcTable, destTable )
    {
    function underLimit( flds )
        {
        table.bulkInsert( destTable, srcTable, flds, "*", false );
        }

    try
        {
        var fldList = web.tables.fetch( srcTable );
        underLimit( fldList.fields.getNames() );
        }
    catch( e )
        {
        script.log( "error", e );
        return "something went wrong, check the log for error details";
        }
    }
 
Affiliate | Partner | Terms of Use | Privacy Policy | Contact Us | Pricing | Bring DataWeb In-House    
DataWeb, 720 North 10th Street, A #145, Renton, Washington 98057 *425-583-5970* Fax 484-770-4706* Email Us