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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing an RDS.DataControl from a different FRAME

Status
Not open for further replies.

Oldmoney

MIS
Oct 3, 2000
2
US
I'm stuck here. i've got code like this on my 'menu' frame

**********************************
<OBJECT CLASSID=&quot;clsid:BD96C556-65A3-11D0-983A-00C04FC29E33&quot;
ID=&quot;objSControl&quot; width=&quot;1&quot; height=&quot;1&quot;>
<param NAME=&quot;SERVER&quot; VALUE=&quot;</object>

<script language=&quot;VBScript&quot;>
.
.
.
private sub Load()

objSControl.ExecuteOptions = adcExecSync
objSControl.FetchOptions = adcFetcBackground

'define SQL
objSControl.SQL = &quot;Select * from assets&quot;
objSControl.Connect objSControl.Refresh

end sub
</script>
*************************************

and i want to reference and use the object on a different frame, seeing as it already downloaded my data to the client, to display the data in different pages through this frame

i'm doing stuff like this on the 'results' frame:
.
.
<table cellpadding=5 border=1 datasrc=&quot;#Parent.menu.objSControl&quot;>
<TDBODY>
.
.

any suggestions?

thanks
joe [sig][/sig]
 
Try putting it in its own Function and Include it.
Go to this site for Help on Includes
[sig]<p>DougP, MCP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br> Ask me how Bar-codes can help you be more productive.[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top