Object doesn't support this property or method

This public forum is for user-to-user discussions of ASPMaker. Note that this is not support forum.

Object doesn't support this property or method

Postby maragoto » Fri Nov 03, 2017 6:08 am

Hello

I updated my project from aspmaker 2017 to 2018. My database is sql 2012. I have a table with a row named: "prestamos" as currency.

In the row_rendered code I have the following:

if prestamos.dbvalue > 0 then <!-- line 3106 -->
prestamos.CssStyle = "color: #ff0000; font-weight: bold; background-color: #ffff99"
end if

Now in my new project, I get this error :

Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'Prestamos.DbValue'
/admin2018/trabajadoresinfo.asp, line 3106

Please Help
maragoto
 
Posts: 19
Joined: Tue Sep 03, 2013 5:09 am

Re: Object doesn't support this property or method

Postby Webmaster » Fri Nov 03, 2017 9:26 am

The codes looked all right. To debug your codes, add appropriate Response.Write codes. For example:

Response.Write "IsObject: " & IsObject(<Field>) & "<br>"
Response.Write "Field name: " & <Field>.FldName & "<br>"
Response.Write "Table name: " & <Field>.TblName & "<br>"
Response.Write "DB value: " & <Field>.DbValue & "<br>"
' ... etc...
Webmaster
 
Posts: 10734
Joined: Fri Aug 06, 2004 5:59 pm


Return to General Discussion (ASPMaker)