|
|
|
|
|
| | |
|
Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Data Binding (InterDev 6.0) |
From: |
Seek |
Date: |
9/15/1999 6:29:28 PM |
IP: |
206.1.147.2 |
Hello One & All;
What I am attempting to do is the following:
Using a frame page to allow the user to click on a customer (left frame)
and have the right page show
a data bound form (InterDev 6.0) filter to only the materials for that
customer.
I was hoping to use the Request.QueryString method and attach the data to
end of the CommandText in
the right frame ASP page. However, I have not been successful... Not sure
if it is mixing of VBScript
with JavaScript or what.....
Can someone help me with this problem?
I have supplied some sample code to the end of the page.......
-Seek
PS: Please send any replies to my email address toseek@goplay.com
****************************************************************************
*************************
Left Frame:
href="cs_form.asp?csid=<%=(rs.Fields("CUST#").Value)%>"><%=(rs.Fields("CUST#
").Value)&" | "%>
<%=UCASE((rs.Fields("NAME").Value))%></a>
Right Frame:
function _initrsMINs()
{
var DBConn = Server.CreateObject(ADODB.Connection);
DBConn.ConnectionTimeout = Application(dbSource_ConnectionTimeout);
DBConn.CommandTimeout = Application(dbSource_CommandTimeout);
DBConn.Open(dbSource, dbUser, dbPass);
var cmdTmp = Server.CreateObject(ADODB.Command);
var rsTmp = Server.CreateObject(ADODB.Recordset);
cmdTmp.ActiveConnection = DBConn;
rsTmp.Source = cmdTmp;
cmdTmp.CommandType = 1;
cmdTmp.CommandTimeout = 30;
cmdTmp.CommandText = "select * fr |
Follow Up - Re: Data Binding (InterDev 6.0) - Jerry 2/15/2000 8:38:55 AM
|
|

|
|
|
|
|
|
|
|
|
|