i have successfully imported a csv file from my local file system to staging table BUT while importing that staging table to target tables the debugger runs automatically at the below code::
else if (qRun.query().dataSourceName(DMFTargetXML.TargetDataSourceName).findRange(keyIndex.field(k)))
{
childQdb.addRange(keyIndex.field(k)).value(qRun.query().dataSourceName(DMFTargetXML.TargetDataSourceName).findRange(keyIndex.field(k)).value());
}
Error:
Error executing code: QueryBuildDataSource object not initialised.
Stack trace
(C)\Classes\QueryBuildDataSource\findRange
(C)\Classes\DMFEntityWriter\write - line 446
(S)\Classes\DMFEntityWriter\runOnServerWriter - line 47
(C)\Classes\DMFEntityWriter\run - line 113
(C)\Classes\DMFEntityWriter\main - line 24
(C)\Classes\xMenuFunction\run
(C)\Classes\MenuFunction\run - line 85
(C)\Forms\DMFWriteData\Designs\DesignList\DMFEntityWriterBatch\Methods\Clicked - line 23
*This post is locked for comments
I have the same question (0)