RE: file contain field is numeric and data has string (Character).

Author: Dan Covill

Posted: 2014-04-14 at 11:02:57

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: naushadmail@gmail.com

> To: profoxtech@leafe.com

>

> 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: ProFox@leafe.com

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/BAY169-W686D1F5AA38F8B268FE67D90510@phx.gbl

** 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.

©2014 Dan Covill