Hi, i got this sqlstm
"SELECT * FROM tablaprincipal WHERE id = 1 UNION SELECT * FROM arc_org where id=2"
Error:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][Controlador ODBC Microsoft Access] El número de columnas de las dos tablas o consultas seleccionadas para una consulta de unión no coincide.
Translating:
The number of columns of the two tables or selected queries for the query of union doesnt match. (something like that)
How can I SELECT * FROM tablaprincipal WHERE id = 1 and SELECT * FROM arc_org where id=2 in one query to display data as <%=(table.Fields.Item("titulo").Value)%> ]
<%=(table.Fields.Item("nom_org").Value)%>
in my asp site?
Tnx!
"SELECT * FROM tablaprincipal WHERE id = 1 UNION SELECT * FROM arc_org where id=2"
Error:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][Controlador ODBC Microsoft Access] El número de columnas de las dos tablas o consultas seleccionadas para una consulta de unión no coincide.
Translating:
The number of columns of the two tables or selected queries for the query of union doesnt match. (something like that)
How can I SELECT * FROM tablaprincipal WHERE id = 1 and SELECT * FROM arc_org where id=2 in one query to display data as <%=(table.Fields.Item("titulo").Value)%> ]
<%=(table.Fields.Item("nom_org").Value)%>
in my asp site?
Tnx!