Re: Access Query w/VBScript
- From: "Bob" <bob_orta@xxxxxxxxxxxxx>
- Date: Mon, 13 Jun 2005 23:45:32 GMT
Thank you, that did it. I added a couple of touches that make 'getstring'
do the right (write) table stuff. Here is the final thing for those that
may need help in the future:
<%
Option Explicit
%>
<HEAD>
<TITLE>Use Access Query as Source</TITLE>
</HEAD>
<BODY>
<%
dim cn, objRS
Set cn = createobject("adodb.connection")
cn.open "Provider=microsoft.jet.oledb.4.0;" & _
"Data Source=C:\Bob\Personnel.mdb"
Set objRS = CreateObject("ADODB.Recordset")
cn.qrySel objRS
Response.Write "<TABLE BORDER=1><TR><TD>"
if not objRS.EOF then Response.Write
objrs.getstring(,,"</TD><TD>","</TD></TR><TR><TD>"," ")
Response.Write "</TD></TR></TABLE>"
objRS.Close
Set objRS=nothing
%>
</BODY>
</HTML>
.
- Follow-Ups:
- Re: Access Query w/VBScript
- From: Bob Barrows [MVP]
- Re: Access Query w/VBScript
- From: Bob
- Re: Access Query w/VBScript
- References:
- Re: Access Query w/VBScript
- From: Bob Barrows [MVP]
- Re: Access Query w/VBScript
- From: Bob Orta
- Re: Access Query w/VBScript
- From: Bob Barrows [MVP]
- Re: Access Query w/VBScript
- From: Bob
- Re: Access Query w/VBScript
- From: Bob Barrows [MVP]
- Re: Access Query w/VBScript
- Prev by Date: problems with regex
- Next by Date: How to read from CSV file!
- Previous by thread: Re: Access Query w/VBScript
- Next by thread: Re: Access Query w/VBScript
- Index(es):
Relevant Pages
|
Loading