MySQL Forums
Forum List  »  Connector/ODBC

Re: type confusion in asp
Posted by: James Coe
Date: January 10, 2007 05:53PM

Here's a list of types that ADO returns:

I know that 2 in particular have problems under VBScript/Classic ASP. Those being adDecimal (14) and adNumeric (131). Your best way to deal with these is to write a function that checks the Type property and casts using CDbl or CLng, as appropriate to your application, when one of these types shows up.

Options: ReplyQuote

Written By
November 23, 2005 08:12PM
November 24, 2005 06:17PM
November 28, 2005 08:18PM
Re: type confusion in asp
January 10, 2007 05:53PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.