Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

How to get the result of the SQL JOIN query into the ListView?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-07-2010, 10:22 PM
Newbie
 
Join Date: Feb 2010
Posts: 7
Default How to get the result of the SQL JOIN query into the ListView?

Hi,

I tried to use Filippo's ListView, but with no success. As far I could understood the help file, it's source can be only one SQL table at a time.
I suppose there exists some techniques to overcome this limitation, but unfortunately it is beyond my actual knowledge.

Or maybe Agraham's ListView is better choice for use with SQL JOIN queries? Unfortunately I even can't figure out, how to fill it with SQL data. I searched in forum for a sample, but with no luck.

In both cases there is no problem with help files. Obviously there is a problem because of my (so far) limited knowledge.

The short piece of code will be the best explanation, however any help will be higly appreciated. Hope I'm not asking too much.
Reply With Quote
  #2 (permalink)  
Old 07-08-2010, 11:19 AM
Filippo's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 906
Awards Showcase
Beta Tester 
Total Awards: 1
Default

from ListView.chm:

Syntax:
lv.LoadSQL (SQLFile Name As String, Table As String, SQLCommandText As String , SortByColumnName As String, Create Columns As Boolean)
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #3 (permalink)  
Old 07-09-2010, 09:02 AM
Newbie
 
Join Date: Feb 2010
Posts: 7
Default

You're right, of course - I overlooked the "SQLCommandText As String" part. Thank you very much for pointing.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem passing the result of an ArrayList from external library moster67 Questions (Windows Mobile) 10 03-10-2009 12:35 AM
Infinity result jgm Questions (Windows Mobile) 6 02-05-2009 03:37 PM
Wait for an event result within a sub Cableguy Questions (Windows Mobile) 3 01-25-2009 08:05 PM
Query con date micro Italian Forum 4 11-11-2008 06:24 PM
Inconsistant compiler result glook Questions (Windows Mobile) 3 03-04-2008 07:44 PM


All times are GMT. The time now is 05:17 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0