Using Multiple TMyLoader Components
Posted: Fri 04 Feb 2011 04:27
Hi,
I need to bulk insert date into two tables. I have tried using two tMyLoader components, however the second one always fails.
Procedure:
loop through data, use Loader1.PutColumnData();
Loader1.Load;
Loop through second data, use Loader2.PutColumnData();
Loader2.Load; << this statement doesnt do anything
If i use manual insert statements on the second load this procedure works.
Help appreciated.
I need to bulk insert date into two tables. I have tried using two tMyLoader components, however the second one always fails.
Procedure:
loop through data, use Loader1.PutColumnData();
Loader1.Load;
Loop through second data, use Loader2.PutColumnData();
Loader2.Load; << this statement doesnt do anything
If i use manual insert statements on the second load this procedure works.
Help appreciated.