Empty Area Problem With Merging Multiple InfoTables
Hello To Everone.
I have 4 database tables (core, car_list, gallery_list, personal_list) which i use SQL Query to Fetch Data and output as InfoTable. After that i want to merge them. But even i started from scratch i had encounter a problem which i mentioned in the topics title.
This is the GetSales Service's result. And the JavaScript Code. I dont know what cause this .
Any suggestion will help.
Thank you.

var params = {
infoTableName : "InfoTable",
dataShapeName : "GetResult"
};
var result = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);
//DB Results
var CoreData = me.coreDB();
var CarData = me.carDB();
var GalleryData = me.galleryDB();
var PersonalData = me.personalDB();
//DB Results
//Loop Level 1
var tableLength = CoreData.rows.length;
for (var x = 0; x < tableLength; x++) {
var row = CoreData.rows
;
//Entry Level 1
var newEntry = new Object();
newEntry.ID = row.ID; // INTEGER - isPrimaryKey = true
newEntry.Car_ID = row.Car_ID; // INTEGER
newEntry.Gallery_ID = row.Gallery_ID; // INTEGER
newEntry.Personal_ID = row.Personal_ID; // INTEGER
//Loop Level 2
var tableLength2 = CarData.rows.length;
for (var y = 0; y < tableLength2; y++) {
var row2 = CarData.rows
; if(row.Car_ID == row2.Car_ID){
//Entry Level 2
newEntry.Car_Name = row2.Car_Name; // STRING
newEntry.Car_Category = row2.Car_Category; // STRING
newEntry.Car_Price = row2.Car_Price; // STRING
break;
}
//Loop Level 3
var tableLength3 = GalleryData.rows.length;
for (var z = 0; x < tableLength3; z++) {
var row3 = GalleryData.rows
; if(row.Gallery_ID == row3.Gallery_ID){
//Entry Level 3
newEntry.Gallery_Name = row3.Gallery_Name; // STRING
newEntry.Gallery_Location = row3.Gallery_Location; // STRING
break;
}
//Loop Level 4
var tableLength4 = PersonalData.rows.length;
for (var c = 0; c < tableLength4; c++) {
var row4 = PersonalData.rows
; if(row.Personal_ID == row4.Personal_ID){
//Entry Level4
newEntry.Personal_Name = row4.Personal_Name; // STRING
newEntry.Personal_Category = row4.Personal_Category; // STRING
break;
}
}
}
}
result.AddRow(newEntry);
}

