Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wrong numeric field size from SQLEXEC() call
Message
From
15/12/2005 06:52:54
 
 
To
14/12/2005 17:59:44
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01077250
Message ID:
01078174
Views:
43
Thanks for the cursorchema creating script. I will try it.
Btw the same effect can be achieved using DISPLAY STRUCTURE TO FILE command.

>"This is really weird. Is the only way to fix this to check every numeric field in every record at upsize time, as Fabio suggests?"
>
>it depends, are these values valid? if so you have to make the postgres column wider, otherwise you probably should find a way that these invalid values aren't stored in the dbf in the first place. I always tackle problems from their source, and if these values aren't valid the problem is that they are somehow getting stored. If you solve it like this you don't have to deal with these kind of consecutive faults.

Christian,

I want allow customers to upsize large amounts of existing data. This data contains illegal (out of range) numeric fields values which I do'nt want to store in Postgres database. I need to skip or blank those fields.
Andrus
Previous
Reply
Map
View

Click here to load this message in the networking platform