Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Test numeric in VC++ 1

Status
Not open for further replies.

PavelGur

Programmer
Sep 21, 2001
75
I work in VC++ for years and have never needed until recently to check whether data in the field is numeric.
I have a vendor who sends me data in float format. When I try to put it in the SQL table I'm getting exception claimiing that field has NULL value. I'm copying the data before putting it in the table to my own float field. This operation does not give me any exceptions.
Does anybody knows simple way to check whether float field is NULL or non-numeric?
Thankd, PavelGur.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top