V
Voss Man
This is my first post - yahoo!!!!!!!
Here are the facts, and the order of development:
I created an ASP. This ASP obtains data from a table from a
Mircrosoft Access Database, and creates a record set. The data in the
record set is then displayed to the user. Here is the code in my asp
associated with the recordset:
<%
' Declare variables
Dim adoCon 'Holds the Database Connection Object
Dim rsSCM_CSA 'Holds the recordset for the records in the
database
Dim strSQL 'Holds the SQL query for the database
Dim strSearch ' The text being looked for
%>
<%
'Create an ADO connection odject
Set adoCon = Server.CreateObject("ADODB.Connection")
'Set an active connection to the Connection object using a DSN-less
connection
adoCon.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & "\\Rsev46-09\Share_04\Webpages\ENG
\D280\mydatabase.mdb"
'Obtain Filter for Query from form on webpage
strSearch = Request.QueryString("formsearchstring")
'Initialise the strSQL variable with an SQL statement to query the
database
strSQL = "SELECT Document_PIN, Document_Type, Document_Title FROM
Documents WHERE Document_Project = '" & strSearch & "'"
'Create an ADO recordset object
Set rsSCM_CSA = Server.CreateObject("ADODB.Recordset")
'Open the recordset with the SQL query
rsSCM_CSA.CursorLocation = 3
rsSCM_CSA.Open strSQL, adoCon, 0, 1
rsSCM_CSA.Sort = "Document_PIN"
%>
This all works just fine.
Now here is where the problem comes in. The database has been split.
With this, the tables in the database have changed to linked tables.
Now, the webpage does not open.
Has anybody had to deal with this problem before?
Anybody have a solution?
X X X X X X X X X X X X X X X X X X X X X X X X X
I hope it is leagal to ask two questions with one post. I'm using
Dreamweaver as my development environment for my ASP. Is there any
way to debug or set breakpoints, or display messages for me to know
how/when/where the server is processing my ASP?
Here are the facts, and the order of development:
I created an ASP. This ASP obtains data from a table from a
Mircrosoft Access Database, and creates a record set. The data in the
record set is then displayed to the user. Here is the code in my asp
associated with the recordset:
<%
' Declare variables
Dim adoCon 'Holds the Database Connection Object
Dim rsSCM_CSA 'Holds the recordset for the records in the
database
Dim strSQL 'Holds the SQL query for the database
Dim strSearch ' The text being looked for
%>
<%
'Create an ADO connection odject
Set adoCon = Server.CreateObject("ADODB.Connection")
'Set an active connection to the Connection object using a DSN-less
connection
adoCon.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & "\\Rsev46-09\Share_04\Webpages\ENG
\D280\mydatabase.mdb"
'Obtain Filter for Query from form on webpage
strSearch = Request.QueryString("formsearchstring")
'Initialise the strSQL variable with an SQL statement to query the
database
strSQL = "SELECT Document_PIN, Document_Type, Document_Title FROM
Documents WHERE Document_Project = '" & strSearch & "'"
'Create an ADO recordset object
Set rsSCM_CSA = Server.CreateObject("ADODB.Recordset")
'Open the recordset with the SQL query
rsSCM_CSA.CursorLocation = 3
rsSCM_CSA.Open strSQL, adoCon, 0, 1
rsSCM_CSA.Sort = "Document_PIN"
%>
This all works just fine.
Now here is where the problem comes in. The database has been split.
With this, the tables in the database have changed to linked tables.
Now, the webpage does not open.
Has anybody had to deal with this problem before?
Anybody have a solution?
X X X X X X X X X X X X X X X X X X X X X X X X X
I hope it is leagal to ask two questions with one post. I'm using
Dreamweaver as my development environment for my ASP. Is there any
way to debug or set breakpoints, or display messages for me to know
how/when/where the server is processing my ASP?