CRecordset and excel

Hello everybody
I wrote an application in VC++ 6.0 where from xls file, in a loop, I read country, city code, and city name. To get string from each cell I use such function: GetFieldValue((short)4, CityCode); Sometimes this function returns an empty string in spite of cell is not empty. It happens only for city code cells. The data in file is copied from some other files (I don't know how they were generated). If in such cell I retype such code by hand function return proper string. Do you know whats going on? All cells are converted to the same type.
Thanks for help
regards
V.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories