ich finde einfach den Fehler nicht. Hab eine artikel.dbf und entsprechende Indexe dazu.
Code: Alles auswählen
index on upper(text) to text.ntx
index on upper(match) to match.ntx
Code: Alles auswählen
case nAuswahl == 3 // Text
set index to text.ntx
if empty(xBis)
xBis := "ZZZZZZZZZ"
endif
set scope to xVon, xBis
case nAuswahl == 6 // Matchcode
set index to match.ntx
if empty(xBis)
xBis := "ZZZZZZZZZ"
endif
set scope to xVon, xBis
bei nAuswahl == 6, stimmt der scope sauber mittels Text. Indexe sind neu erzeugt, die passen, mit dbu wird die dbf sauber angezeigt.set index to text.ntx
xVon und xBis sind in beiden Fällen identisch belegt mit "A" und "L", ohne Leerzeichen. Bei Matchcode zeigt er mir jedoch immer nur die Einträge mit "A" an.
Sogar
Code: Alles auswählen
set scope to "A", "L"
Warum