|
|
 | | From: | JoergSorge | | Subject: | lookup in combo sortieren | | Date: | Fri, 10 Dec 2004 09:14:06 +0100 |
|
|
 | Hallo, ich habe eine Nachschlagetabelle sg_cont_art. Über folgendes lookup verbinde ich sie im Datenmodul.
fields["ART"].lookupSQL = 'SELECT Art_ID, art FROM "sg_cont_art.dbf"'
In meiner Combo wird auch alles angezeigt, aber ich bekomme die Sortierung nicht nach der "Art" hin. Weder das sorted = true in der combo, noch ein index in der sg_cont_art auf das feld art zeigt eine Änderung.
In der combo benutze ich lediglich die datalink-Eigenschaft nicht die datasource.
Hat jemand eine Idee? Dank Jörg
-- This is an automatic signature of MesNews. Site : http://www.mesnews.net
|
|
 | | From: | Winfried Schneller | | Subject: | Re: lookup in combo sortieren | | Date: | Fri, 10 Dec 2004 09:25:34 +0100 |
|
|
 | Hallo Jörg,
> fields["ART"].lookupSQL = 'SELECT Art_ID, art FROM "sg_cont_art.dbf"'
fields["ART"].lookupSQL = 'SELECT Art_ID, art FROM "sg_cont_art.dbf" order by art'
sollte gehen
Winfried
|
|
 | | From: | JoergSorge | | Subject: | Re: lookup in combo sortieren | | Date: | Fri, 10 Dec 2004 10:03:49 +0100 |
|
|
 | Hallo Winfried,
>> fields["ART"].lookupSQL = 'SELECT Art_ID, art FROM "sg_cont_art.dbf"' > > fields["ART"].lookupSQL = 'SELECT Art_ID, art FROM "sg_cont_art.dbf" order > by art'
Danke, ich hatte das order by mit in den anführungszeichen.. > sollte gehen s'geht Jörg :-Z
-- This is an automatic signature of MesNews. Site : http://www.mesnews.net
|
|
|