Página 1 de 1

TWebDataSource

Publicado: Sab Nov 10, 2012 12:08 pm
por Timm
Hi!
First of all: The new TWebDataSource control is great, congrats! :-)
I get this error when I use a cSelect statement that returns no records:
Untersystemaufruf: BASE
Systemcode: 1111
Default-Status: .F.
Beschreibung: Argument error
Operation: LEN
Argumente: [ 1] = Typ: U Wert: NIL
Involvierte Dateien:
DOS-Fehlercode: 0
Aufgerufene Programmteile:
LEN (0)
READLINE (111)
TWEBDATASOURCE:XMLDATA (587)
TWEBRECORDS:OPEN (72)
TSQLQUERY:OPEN (320)
TFORM1:TICKETEDIT (181)
What can I do?
Best regards, Timm.

TWebDataSource

Publicado: Lun Nov 12, 2012 1:26 pm
por ignacio
Timm escribió el sáb, 10 noviembre 2012 12:08Hi!
First of all: The new TWebDataSource control is great, congrats!
I get this error when I use a cSelect statement that returns no records:
Untersystemaufruf: BASE
Systemcode: 1111
Default-Status: .F.
Beschreibung: Argument error
Operation: LEN
Argumente: [ 1] = Typ: U Wert: NIL
Involvierte Dateien:
DOS-Fehlercode: 0
Aufgerufene Programmteile:
LEN (0)
READLINE (111)
TWEBDATASOURCE:XMLDATA (587)
TWEBRECORDS:OPEN (72)
TSQLQUERY:OPEN (320)
TFORM1:TICKETEDIT (181)
What can I do?
Best regards, Timm.
Hello,
I could not reproduce your error. But in any case to avoid the error just include these lines after: cData := oTag:cData in line 581 of WebDataSource.prg
IF Empty( cData )
RETURN {}
ENDIF
BTW, Thank you for your kind words. I'm very pleased you like it.
Regards,

TWebDataSource

Publicado: Lun Nov 12, 2012 5:09 pm
por Timm
Hi Ignacio,
it works, many thanks!
Best regards, Timm.
"Ignacio Ortiz de Zúñiga" <nonametoavoidspam@xailer.com> schrieb im
Newsbeitrag news:50a0eb12$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Timm escribió el sáb, 10 noviembre 2012 12:08
>> Hi!
>>
>> First of all: The new TWebDataSource control is great,
>> congrats! :)
>>
>> I get this error when I use a cSelect statement that
>> returns no records:
>>
>> Untersystemaufruf: BASE
>> Systemcode: 1111
>> Default-Status: .F.
>> Beschreibung: Argument error
>> Operation: LEN
>> Argumente: [ 1] = Typ: U Wert: NIL
>> Involvierte Dateien: DOS-Fehlercode: 0
>>
>> Aufgerufene Programmteile:
>> LEN (0)
>> READLINE (111)
>> TWEBDATASOURCE:XMLDATA (587)
>> TWEBRECORDS:OPEN (72)
>> TSQLQUERY:OPEN (320)
>> TFORM1:TICKETEDIT (181)
>>
>> What can I do?
>>
>> Best regards, Timm.
>
>
> Hello,
> I could not reproduce your error. But in any case to avoid
> the error just include these lines after: cData :=
> oTag:cData in line 581 of WebDataSource.prg
> IF Empty( cData ) RETURN {}
> ENDIF
>
> BTW, Thank you for your kind words. I'm very pleased you
> like it.
> Regards, --
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer/Xailer team]
> http://www.xailer.com
> http://www.xailer.info