English
Forum

Errors in the Split

 

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
 
02/03/05  
 




Bernd
Haase
to my knowledge To 64
 
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]
 
02/03/05  
 




Bernd
Haase
Merci !!
 
Mit freundlichem Gruß
Bernd

Sind schon viele erfroren, aber noch keiner ist erstunken !!
[...] 
02/04/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.757 Views

Untitledvor 0 min.

Themeninformationen

this Topic has 3 subscriber:

Bernd Haase (3x)
Frank Abbing (1x)
iF (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie