Distinct Query with ADOCE 
Author Message
 Distinct Query with ADOCE

Hello Everyone,
I am developing an applicaton in eVB for Pocket PC 2002.
I have to query a table which contains around 7000 entries. I need to use
a "Distinct" clause to query out this table. But this does not seem to be
supported in ADOCE. Can somebody please help?
Thanks,
Aparna


Tue, 04 Oct 2005 18:50:42 GMT  
 Distinct Query with ADOCE


Quote:
> Hello Everyone,
> I am developing an applicaton in eVB for Pocket PC 2002.
> I have to query a table which contains around 7000 entries. I need to use
> a "Distinct" clause to query out this table. But this does not seem to be
> supported in ADOCE. Can somebody please help?

You don't have any way to do this kind of aggregate functions using CEDB.
ADOCE aren't the reason for this being unsupported. IIRC, then you can use
SSCE (SQL Server 2000 for CE) to do it.

Apart from that, the only way you have to do it is by getting a recordset,
ordered by the field (or fields) that you need to have as distinct fields,
and then loop trough this recordset and just show/use the records that fits
your criteria.

/Keld Laursen



Thu, 06 Oct 2005 05:01:24 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. DISTINCT and ADOCE??

2. Distinct Corporation's ICMP control and WINS query

3. Distinct Corporation's ICMP control and WINS query

4. difference between DISTINCT and DISTINCTROW (in a SQL query)

5. DISTINCT and DISTINCTROW in a SQL query?

6. distinct query

7. Problem with Memo field in SELECT DISTINCT queries

8. Distinct query question?

9. Not Distinct SQL Query

10. Recordset error using DISTINCT in MSSQL7 query

11. Distinct Clause in SQL Query

12. Query Records before Sync with ADOCE

 

 
Powered by phpBB® Forum Software