Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you dynamically display information...

Status
Not open for further replies.

kaeb

Programmer
Mar 19, 2003
8
CA
from a database table in an ASP webpage using both vbscript and javascript and no backend vb6 components?

so far this is my code:

<%@ Language=&quot;VBScript&quot;%>

<%

Dim adoCn
Dim adoRcd

Set adoCn = Server.CreateObject(&quot;ADODB.Connection&quot;)
Set adoRcd = Server.CreateObject(&quot;ADODB.Recordset&quot;)

adoCn.Provider = &quot;Microsoft.Jet.OLEDB.4.0&quot;

adoCn.ConnectionString = Server.mappath(&quot;backend.mdb&quot;)

adoCn.Open

adoRcd.Open &quot;SELECT Tech_Definitions.word_id, Tech_Definitions.word, Tech_Definitions.Definition FROM Tech_Definitions&quot; , adoCn
%>

and it is displayed here:
<table border=&quot;2&quot; width=&quot;100%&quot;>
<tr>
<td width=&quot;20%&quot; valign=&quot;bottom&quot; align=&quot;center&quot;><font face=&quot;Arial&quot; size=&quot;-1&quot; color=&quot;#000000&quot;><b><%=adoRcd(&quot;Word&quot;)%></b></td>
</tr>
<tr>
<td align=&quot;center&quot;><font face=&quot;Arial&quot; size=&quot;-2&quot; color=&quot;#000000&quot;><b>
<%=adoRcd(&quot;Definition&quot;)%></font>
</td>
</tr>
</table>

I would like to create an onmousemove (not a must) function that will change the words and definitions in the same table space.

Can this be done?
Thanks for your help
kaeb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top