Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
It isn't logical
Message
From
24/10/2001 00:34:00
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00572155
Message ID:
00572442
Views:
28
Sergey

>>REPLACE FOR ISBLANK(eclrhse) eclrhse WITH Null

Should work well with local tables... but nulls in a logical field have significant ramifications for upsizing.

Bit fields in SQL Server do not allow NULL. This means you'll have to alter the field type if you ever need to upsize.

My advice would be to do as others have suggested, use a character field or a one digit numeric field. Both upsize well.

FWIW, using logical fields in VFP does not add much. Numeric fields work fine with form objects and SQL is still easy.

Regards

JR
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform