Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append Blank to insert NULLs instead of blank
Message
From
07/10/2006 23:55:52
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Append Blank to insert NULLs instead of blank
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01160367
Message ID:
01160367
Views:
77
I have an SQL application that is a big problem.

In foxpro when you append blank, (on an SQL remote view) it does not put NULL in the fields that allow null.

So if the SQL program (Dot Net VB program) expects null then they will NOT be there unless I store null to each field


Is there a way to make VFP append blank put null in the fields that are defines as allow null?

Even on a VFP table (DBF in a DBC) when I append blank, it does NOT put Null in the fields even though they are defined as allow null. Character fields is puts blank. On dates and numbers that is a big problem too

VFP has settings for everything so I am sure there is some setting to define what is inserted, but I simply can not find outr where to change that.
Next
Reply
Map
View

Click here to load this message in the networking platform