Re: Open a query getting 0 record
- From: Brian Bushay TeamB <BBushay@xxxxxxxxx>
- Date: Tue, 05 Apr 2005 20:58:15 -0500
>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
.
- References:
- Open a query getting 0 record
- From: Mauro Assis
- Open a query getting 0 record
- Prev by Date: Re: MDAC 2.8 & MSDART.DLL issues... anyone?
- Next by Date: Re: MDAC 2.8 & MSDART.DLL issues... anyone?
- Previous by thread: Re: Open a query getting 0 record
- Next by thread: MDAC 2.8 & MSDART.DLL issues... anyone?
- Index(es):
Relevant Pages
|