Hi Russel,
there is not a real setting on that.
All what you can do is to change your code like
IF EMPTY(X) OR ISNULL(X)
IF EMPTY(NVL(X,.F.))
HTH
Agnes
Update:
you may retrive your data from the SQL source using NVL() as well
Agnes
>In a VFP app, I have used IF EMPTY(X) in several places and have not allowed .NULL. values.
>
>I have now migrated it to SQL Server. When I SELECT the data from the SQL Server Table containing a .NULL., the .NULL. gets replcated in the DBF.
>However since IF EMPTY(X) = .F. when X = .NULL., I am in trouble.
>
>Is there a simple setting/solution to overcome this problem?
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]