Re: Open a query getting 0 record




>We have TADODataSet.MaxRecords property to set if we wish to limit the
>number of records that dataset gets after open. If TADODataSet.MaxRecords =
>0, I get unlimited number of records. What if I need to open with 0 records
>? There's some value to put in this property to get this ?
No

>Or, there's some
>other way to do this without put WHERE 1 = 2 at the end of CommandText
>property ?
a where clause that evaluates to false is the only way

--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.



Relevant Pages