| |
|
|
Bernd Haase | I seh whom woods not sheer trees. in the code untern go 14 Split displayed, means with data filled. ex 15 becomes nothing more into Split transfer. Why can the lying ?? CompileMarkSeparation
Proc Textadresse
declare Befehl$,i%,Daten$
sqlinit ("DSN=Zeta")
Befehl$="select * from Adresse"
clearlist
sqlexec befehl$,1
if %getcount>1
i%=2
while i%<=%getcount
Daten$=@ListBoxItem$(i%)
@editbox("",2)
Setitem adresse&,@Substr$(Daten$,1,"|"),@Substr$(Daten$,2,"|"),@Substr$(Daten$,3,"|"),@Substr$(Daten$,4,"|"),@Substr$(Daten$,5,"|"),@Substr$(Daten$,6,"|"),@Substr$(Daten$,7,"|"),@Substr$(Daten$,8,"|"),@Substr$(Daten$,9,"|"),@Substr$(Daten$,10,"|"),@Substr$(Daten$,11,"|"),@Substr$(Daten$,12,"|"),@Substr$(Daten$,13,"|"),@Substr$(Daten$,14,"|"),@Substr$(Daten$,15,"|"),@Substr$(Daten$,16,"|"),@Substr$(Daten$,17,"|"),@Substr$(Daten$,18,"|"),@Substr$(Daten$,19,"|"),@Substr$(Daten$,20,"|")
inc i%
wend
endif
ENDPROC
|
|
|
| Mit freundlichem Gruß Bernd Sind schon viele erfroren, aber noch keiner ist erstunken !![...] | 02/03/05 ▲ |
|
|
|
|
| Wieviele Parameter verträgt the Setitem commands?
salvo, iF |
|
|
| |
|
|
|
Bernd Haase | |
|
| Mit freundlichem Gruß Bernd Sind schon viele erfroren, aber noch keiner ist erstunken !![...] | 02/03/05 ▲ |
|
|
|
|
Frank Abbing | Hi,
Setitem is a Profan procedure. there's 12 or 15 The Parametergrenze. If you More Split benötigst, must You SItem using.
statement from the Help: [quote:472a155817]SItem(H,B,A) SetItem H,s1,s2,s3,...,s12
Created a new Line and fügt Items into new row one. SItem() is the eigentliche Dll-function, for Profan existing too The Definition SetItem.
H : Long - lever one with CreateListview() erstellten List view Controls. B : Zeiger on a Speicherbereich with Stringadressen. A : Long - amount Strings, The in area B uses go.
on the end of Listviews (under) becomes a new row created and the angegebenen Texts go as new Items eingefügt. around the new row on another place einzufügen, is SetIndex() To using. B is a Speicherbereich, in the Zeiger on Strings as LongInt stored get, A gives on, wieviele Strings transfer go should. Maximal go up to 64 Items per row from the List view.dll supported.. as they The Profan-Definition SetItem using, can so maximum 12 Items transfer go, More Parameter supported Profan not. with Profan 5 are it even only 9 Items... for normal Listviews reichts but. Itemtexte should not longer as 256 characters his ! [/quote:472a155817] |
|
|
| |
|
|
|
Bernd Haase | |
|
| Mit freundlichem Gruß Bernd Sind schon viele erfroren, aber noch keiner ist erstunken !![...] | 02/04/05 ▲ |
|
|
|