In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

TWebDataSource

Xailer professional forum in English
Responder
Timm
Mensajes: 136
Registrado: Lun Jun 21, 2010 11:01 am

TWebDataSource

Mensaje 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.
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9250
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TWebDataSource

Mensaje 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,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Timm
Mensajes: 136
Registrado: Lun Jun 21, 2010 11:01 am

TWebDataSource

Mensaje 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
Responder