Hiya
I'm learning ASP using Access and Dreamweaver. I've just started
simple and I've tried to make the db show the results of just two
tables without doing anything clever! I have the following code:
<!--#include file="Connections/imaildata.asp" -->
<%
Dim rsData
Dim rsData_numRows
Set rsData = Server.CreateObject("ADODB.Recordset")
rsData.ActiveConnection = MM_imaildata_STRING
rsData.Source = "SELECT * FROM domain1_co_uk, domain2_com"
rsData.CursorType = 0
rsData.CursorLocation = 2
rsData.LockType = 1
rsData.Open()
rsData_numRows = 0
%>
And then in the body I have:
<%
while not rsData.EOF
Response.write rsData("FULLNAME")&"<br>"
rsData.MoveNext
Wend
%>
However, instead of getting a list of the fullname fields from both
tables I get strangely duplicated data from just one table, in the
form of:
edmund blackadder
edmund blackadder
percy
percy
baldrick
baldrick
kevin darling
kevin darling
etc
Any ideas why?
Cheers then!
Stu.