changing txt to number
- From: "Jeff" <gig_bam@xxxxxxxxxxxx>
- Date: Wed, 20 Apr 2005 21:23:11 -0400
I am using access DB.
i have a large table that i have aquired, and all the data in the fields are
actually txt. unfortunatly, the data is integers stored as txt. the future
plan, is to redo the DB, and make the fields numeric, but for now, i need a
way to retrieve data, and change it to numeric.
so if field cc_callNumbers is a 7.. but the field type is txt, in my asp
page i can call that as say
var1 = sales_data.fields.item("cc_callNumbers").value
that value returns a txt 7, but i need to convert it to a number 7, so i can
do math with the data. is this possible?
thanks
jeff
.
- Follow-Ups:
- Re: changing txt to number
- From: Jeff
- Re: changing txt to number
- From: Roland Hall
- Re: changing txt to number
- From: Ray Costanzo [MVP]
- Re: changing txt to number
- Prev by Date: Re: OLEDB connection to mysql via ASP
- Next by Date: Re: changing txt to number
- Previous by thread: Ricavare i tipi di campi di un db in asp
- Next by thread: Re: changing txt to number
- Index(es):
Relevant Pages
|