Thanks for the reply, bigmike. All of your assumptions are correct. I have a temp table that I also created. I tried that route, but couldn't get it to work. However, my data also resides in the temp table. The temp table has columns named "df_t_field1" through "df_t_field30". I store the data exactly as it comes in from the text file. To better help understand, I have provided my DB structure for the vehicles table. This is the end table that everything gets stored into:

The below table, is the links table. This is my config table for each dealer. It tells me which field in the text fiel (or temp DB) ties back to which field in the vehicles table above. I'll provide another table below that is the setup table to link the config table with the vehicles table:

I also created another table to as a field lookup. This tells the feed what the field name is in the vehicles table (df_v_field_id), what the primary key of the field is (df_f_field_id), what the name of the field storing the value is (df_f_field_name), what the datatype of the field is (df_f_datatype), and what the lookup table of the field is in (df_f_table). The reason I do this, is so that I get consisent data. For instance, I have a vehicle make table (tbl_Vehicles_make). The dealer feed will submit the vehicle make as 'FORD'. I need to convert this to the numeric value in the vehicle make table to store into the vehicles table. The vehicle make ID for 'FORD" is 2. "2" will get stored into the vehicles table in the "vm_id" field. However, in order to do this, I need to convert from text to numeric by looking up "FORD" in the vehicle make table.

Below is my code to try and loop through the tables:
Code:
' -- Create Fields For SELECT --
For x = 1 To 30
strDBFields = strDBFields & "df_t_field" & x & ", "
Next
' -- Insert Records Into Main Vehicle Table --
strSQL = "SELECT " & strDBFields & "df_t_id FROM tbl_DealerFeed_temp WHERE df_d_id = " & df_d_id
Set objRS = siteConn.Execute(strSQL)
If Not objRS.EOF Then
Do While Not objRS.EOF
strSQL = "SELECT df.df_v_field_id, df.df_f_field_id, df.df_f_field_name, df.df_f_description, df.df_f_datatype, " & _
"df.df_f_table, dfl.df_l_field_id " & _
"FROM tbl_DealerFeed_link dfl " & _
"LEFT JOIN tbl_DealerFeed_fields df ON df.df_f_id = dfl.df_f_id " & _
"WHERE dfl.df_d_id = " & df_d_id
Set objField = siteConn.Execute(strSQL)
If Not objField.EOF Then
Do While Not objField.EOF
' -- Grab DB Field ID --
intDBFieldID = objField("df_l_field_id")
strDBValue = objRS("df_t_field" & intDBFieldID)
strVehicleFieldID = objField("df_v_field_id")
strFieldID = objField("df_f_field_id")
strFieldName = objField("df_f_field_name")
strDataType = objField("df_f_datatype")
' -- Check For Lookup Value --
If Not CheckBlank(objField("df_f_field_name")) Then
strNewValue = GrabCatID(strDBValue, strFieldID, objField("df_f_field_name"), objField("df_f_table"))
Else
strNewValue = strDBValue
End If
If Not CheckBlank(strNewValue) Then
' -- Check Image Field --
If strDataType = "image" Then
strImages = strNewValue
Else
' -- Store Field Values --
If Not CheckBlank(strFields) Then strFields = strFields & ","
strFields = strFields & strVehicleFieldID
If Not CheckBlank(strValues) Then strValues = strValues & ","
If strDataType <> "int" Then
strValues = strValues & "'" & ReplaceVars(strNewValue) & "'"
Else
strValues = strValues & ReplaceVars(strNewValue)
End If
End If
End If
objField.MoveNext
Loop
' -- Create SQL --
If Not CheckBlank(strFields) And Not CheckBlank(strValues) Then
strSQL = "INSERT INTO tbl_Vehicles (" & strFields & ") VALUES (" & strValues & ")"
response.write strSQL & "<p>"
End If
' -- Upload Images --
If Not CheckBlank(strImages) Then
If InStr(strImages, ",") > 0 Then
arrImages = Split(strImages, ",")
Else
arrImages = strImages
End If
If IsArray(arrImages) Then
For x = 0 To UBound(arrImages)
' -- Create Primary --
v_p_primary = 0
If x = 0 Then
v_p_primary = 1
End If
' -- Create Array of Fields --
arrFields = Array("int_v_id","v_p_name","int_v_p_primary","int_v_p_resized","int_v_p_external_link")
arrValues = Array(v_id,arrImages(x),v_p_primary,0,1)
strSQL = SubmitForm(arrFields, arrValues, "ADD", "tbl_Vehicles", "", "")
response.write strSQL & "<br>"
Next
End If
End If
' -- Clear Values --
strFields = ""
strValues = ""
strImages = ""
End If
objRS.MoveNext
Loop
End If
' -- Grab Vehicle Category ID --
Function GrabCatID(strValue, strFieldID, strFieldName, strTable)
' -- Create Recordset --
strSQL = "SELECT " & strFieldID & " FROM " & strTable & " WHERE " & strFieldName & " = '" & strValue & "'"
Set objFieldID = siteConn.Execute(strSQL)
If Not objFieldID.EOF Then
GrabCatID = objFieldID(strFieldID)
End If
objFieldID.Close
Set objFieldID = Nothing
End Function