English
Forum

SQL-request unvollständig in Listboxliste?

 

Christof
Neuß
Hi,
I have too time again a question. fight with of/ one SQL-request.

The data base has several Memofelder, The I choose. About The Listboxliste fetch I me the Result and viewing z.B. whom Sign in row 2 (first Dateneintrag) on the first slot. The String, the here stored his ought to I explicit longer as 255 characters. it come but always only 255 characters rüber.
CompileMarkSeparation
and here The function DoSQL:
CompileMarkSeparation
'Führt einen SQL-Befehl aus und gibt das Ergebnis zurück

Proc DoSQL_E

    Parameters SBefehl$
    Var Rueckgabe$=""
    ClearList
    SqlExec SBefehl$,1

    if %getcount>1

        Rueckgabe$=Trim$(Left$(ListBoxItem$(2),Len(ListBoxItem$(2))-1))

    EndIf

    Return Rueckgabe$

CompileMarkSeparation
'1 Individualkundenbetreuer

WhileLoop Len(Substr$(Result2$,1,Get("SQLDel")),",")

    Print #1,Trim $(Substr$(Substr$(Result2$,1,Get("SQLDel")),&LOOP,","))+";"+Trim $(Substr$(Result1$,1,Get("SQLDel")))

EndWhile


As I said, really should the first part (= 1 slot the scheduler) explicit longer as 255 Lines his. everything above becomes but cut.

in the File "SQL.DAT" standing neither the complete worth:
Expr1000;Expr1001;Expr1002;Expr1003;Expr1004;
00001,00002,00003,00004,00005,00006,00007,00008,00009,00010,00011,00012,00013,00014,00015,00016,00017,00018,00019,00020,00021,00022,00023,00024,00025,00026,00027,00028,00029,00030,00031,00032,00033,00034,00035,00036,00037,00038,00039,00040,00041,00042,000;VMM08,VMM09,VMM10,01230,01210,02220;FKB01,FKB02,03230;FKB03,FKB04,03320,04140;==Enthält automatically any restlichen Berater==;


in the Sign in the Listboxliste standing only:
00001,00002,00003,00004,00005,00006,00007,00008,00009,00010,00011,00012,00013,00014,00015,00016,00017,00018,00019,00020,00021,00022,00023,00024,00025,00026,00027,00028,00029,00030,00031,00032,00033,00034,00035,00036,00037,00038,00039,00040,00041,00042,000


what can I do? someone a idea?

THANK YOU
 
Win10 16 GB RAM
02/06/14  
 




Thomas
Freier
Verwendest You The List view.dll and SetItemText(H,T,s,L) ?
with More as 255 characters is:
SetItemTextEx(H,T,s,L,A)
and
GetItemTextEx(H,B,s,L,A)

To use.
 
Gruß Thomas
Windows XP SP2, XProfan X2
02/06/14  
 




Christof
Neuß
Sorry people

so plenty excitement and it was (again) only a Kleinigkeit.

apparently becomes by the TRIM-function in the SQL-Select a Verkürzung on 255 characters bewirkt.

I use over a ODBC-interface a MS-Access-data base. Should time nachforschen, whether Access there too Problems power.

Hab' now simply here
CompileMarkSeparation
the TRIM omitted and already funktioniert's.

nevertheless "DANKE" für's mitdenken and think.
 
Win10 16 GB RAM
02/06/14  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.820 Views

Untitledvor 0 min.
rquindt06/27/21
Christof Neuß10/15/16
Heltal01/06/15
Andre Rohland10/05/14
More...

Themeninformationen

this Topic has 2 subscriber:

Christof Neuß (2x)
Thomas Freier (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