Pocket PC Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!





Go Back   Thoughts Media Forums > POCKET PC THOUGHTS > Pocket PC Developer

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-06-2002, 10:44 PM
Neophyte
Join Date: Mar 2002
Posts: 8
Send a message via ICQ to gers0667 Send a message via AIM to gers0667 Send a message via MSN to gers0667 Send a message via Yahoo to gers0667
Default SQL Workaround?

I'm syncing an Access Database via Active Sync and using eVB to access it. I want to do a SELECT DISTINCT x FROM x, which is valid in Access, but I get errors running it on the PocketPC. Can anyone think of a work around for this one??
 
Reply With Quote
  #2 (permalink)  
Old 09-07-2002, 03:05 AM
Neophyte
Join Date: Mar 2002
Posts: 8
Send a message via ICQ to gers0667 Send a message via AIM to gers0667 Send a message via MSN to gers0667 Send a message via Yahoo to gers0667
Default For anyone who cares...

I got around the problem by sorting the list and then did a comparison:
Code:
Last = ""

Do While Not oRecordset.EOF
    Current = oRecordset.Fields("Type")
    If Current <> Last Then
        Last = Current
        lstType.AddItem Current
    End If
    oRecordset.MoveNext
Loop
 
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 11:27 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 RC7