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

Data form Wizard Hyperlink

Status
Not open for further replies.

hoevedm

Programmer
Jul 9, 1999
1
US
Hi,<br>&nbsp;I am trying to build the data form wizard hyperlinking feature on the <br>DTC<br>grid in VI6 Pro. This is&nbsp;&nbsp;using the procedure described in Q192665 I <br>have<br>the function set up on the same asp page as the grid. I have the grid <br>field<br>setup as follows:<br>=&quot;&lt;a href=javascript:thisPage.navigate.ShowRecord (&quot; +<br>contract.absolutePosition +&quot;) &gt;&quot;+ Server.HTMLEncode ([Project]) + &quot; <br>&lt;/a&gt;&quot;<br><br>The function:<br><br>&lt;SCRIPT LANGUAGE=javascript RUNAT=server&gt;<br><br>function ShowRecord(strAbsolutePosition)<br>{<br>&nbsp;&nbsp;contract.moveAbsolute(parseInt(strAbsolutePosition<br>&nbsp;&nbsp;))<br>&nbsp;&nbsp;_fmgrEval_SetMode('FormView');<br><br>}<br>&lt;/SCRIPT&gt;<br>---------------------------------------------------------<br>Contract is the name of the recordset.<br>I also have VBScript in the section before the javascript code. All<br>contained within the &lt;HEAD&gt; section of the page.<br>---------------------------------------------------------<br>The VB script:<br><br>&lt;SCRIPT ID=serverEventHandlersVBS LANGUAGE=vbscript RUNAT=Server&gt;<br><br>Sub btnUpdate_onclick()<br>contract.updateRecord<br>contract.requery<br>End Sub<br><br>Sub btnRequery_onclick()<br>contract.requery<br>End Sub<br><br>Sub btnNew_onclick()<br>session(&quot;newEval&quot;)=0<br>Response.Redirect &quot;addNewEval.asp&quot;<br>End Sub<br><br>Sub btnDelete_onclick()<br>contract.deleteRecord<br>End Sub<br><br><br><br>&lt;/SCRIPT&gt;<br><br><br>The problem is when I use IE5 to click on the link in list view I get <br>an<br>error indicating that IE is unable to download eval.asp(name of page I <br>am<br>working with) from site. I am running on Win98 and PWS. I have all <br>options<br>installed from the install disk for PWS server and VI6 server. In <br>Netscape<br>4.7 I get no response when I click.<br>I have tried changing the name of the function to some generic <br>name(MyTest)<br>to alleviate a possible keyword problem in the function name.<br>I also would like to know if anyone out there knows where I can find <br>the<br>&quot;hidden&quot; methods of the various DTC's that this article speaks of. <br>Actually<br>the only one it mentions is the one of the form manager's hidden <br>methods. I<br>would not be surprised if there were more though.<br>Thanks in advance<br>DMH<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top