What I want is that with these two tables see if in the column (which is equal in both) is equal to a request.form
For now I have this but this error marks me Ambiguous column name 'Punto_Tactico'.
set rs_pTactico = server.CreateObject("ADODB.Recordset")
sql_pTactico = "SELECT * FROM Infraestructura, Equipos WHERE
Punto_Tactico='" & request.form("Punto_Tactico") & "'"
rs_pTactico.Open sql_pTactico,conn,3,3
I have also tried this way with inner join, here I do not have problems but it only makes the query with the infrastructure table and I want it to be in both, but I do not know how to do it
set rs_pTactico = server.CreateObject("ADODB.Recordset")
sql_pTactico = "SELECT * FROM Infraestructura INNER JOIN Equipos ON
Infraestructura.Punto_Tactico='" & request.form("Punto_Tactico") & "'"
rs_pTactico.Open sql_pTactico,conn,3,3