AdamVerellen
IS-IT--Management
Right now I am doing this on an Access Database.
But I am converting the application to SQL.
Just a little bump I hit.
ILVSDB.Execute ("DELETE DISTINCTROW Field1, Field2 FROM Table1 INNER JOIN Table2 ON (table1.Field2 = table2.field2) AND (Table1.field1 = Table2.field1) WHERE (Table1.field1=Table2.field1) AND (table1.field2=table2.field2);"
It seems SQL doesn't like to Delete using an inner join
Or use the work Distinct
But I am converting the application to SQL.
Just a little bump I hit.
ILVSDB.Execute ("DELETE DISTINCTROW Field1, Field2 FROM Table1 INNER JOIN Table2 ON (table1.Field2 = table2.field2) AND (Table1.field1 = Table2.field1) WHERE (Table1.field1=Table2.field1) AND (table1.field2=table2.field2);"
It seems SQL doesn't like to Delete using an inner join
Or use the work Distinct