>>What data-type do you use if you need if you need an index on that field?
>
>I forget the reason, but you do not index bit fields in SQL Server.
The same reason you don't in VFP. Bit fields have only two possible values. Indexing on this field will result in the query optimizier using too many rows when determing a final result set.
Example:
Say you have an even distribution of 1s and 0s. An intermediate result will be built with approximately half of the rows in your table. This result set would then have to be matched with the results sets from the other selection criteria. If you took out the bit index, then the final result would be processed to determine what rows matched the bit flag.
Just my opinion.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao