OK, Ali, is this what your problem is?

create table SAMPLE ( CharField C(8), NumField N(8,2))
Chardata = "225.50"     && Character data, but really a number
insert into SAMPLE values (Chardata, VAL(Chardata))
*------------------
For the CharField, we just enter it directly.
For the NumField, the VAL() function converts the characters to a number.

Dan Covill

> Date: Mon, 14 Apr 2014 15:40:43 +0300
> Subject: file contain field is numeric and data has string (Character).
> From: [email protected]
> To: [email protected]
> 
> Dears
> 
> I have a dbf file that file contain field is numeric and data has string
> (Character). How to Handle for view, variable and print.
> 
> REGARDS
> ALI
> 
> 
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
>   text/plain (text body -- kept)
>   text/html
> ---
> 
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to