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!

object doesn't support error

Status
Not open for further replies.

crystalized

Programmer
Jul 10, 2000
390
CA
I have a snippet of code here
Code:
<%=FormatCurrency(rcsStats.fields(&quot;pstConstVal&quot;),2)%>

I have also tried

<%=FormatCurrency(rcsStats(&quot;pstConstVal&quot;),2)%>
Either piece of code as I understand it should allow me to access the field pstConstVal in my recordset object. However I keep getting the following error:

Code:
Error Type:
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'rcsStats'
/NetworkForms/Forms/Project/frmProjConfirmCol1R2.asp, line 65
[code]

I noticed another thread mentioned this problem but I did not see a resolution for it.  I would point out that I am using a Visual Interdev DTC recordset that is based on a stored procedure.

If anyone has any insight as to why I can not access the fields this way I would appreciate it.

Thanks in advance. [sig]<p>Crystal<br><a href=mailto:crystals@genesis.sk.ca>crystals@genesis.sk.ca</a><br><a href= > </a><br>--------------------------------------------------<br>
Experience is one thing you can't get for nothing.<br>
 -Oscar Wilde<br>
[/sig]
 
Sorry for bothering everyone I found the solution.

rcs.fields.getValue(&quot;fieldName&quot;) [sig]<p>Crystal<br><a href=mailto:crystals@genesis.sk.ca>crystals@genesis.sk.ca</a><br><a href= > </a><br>--------------------------------------------------<br>
Experience is one thing you can't get for nothing.<br>
-Oscar Wilde<br>
[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top