Hello,
Two questions:
1) Whit this code generated this error:
WITH OBJECT ::oDBFDipend
:AddCalcField( "cDIPEND", {| o | TRIM(o:oDataSet:COGNOME) + " " +
TRIM(o:oDataSet:NOME)})
::oComboBox1:aItems := :SaveToArray( {("cDIPEND"} )
END WITH
(b)TDBFDATASET:SAVETOARRAY(1828)
Errore BASE/1003 Variable does not exist: DIPEND
Argomenti: ()
It's possible to use this?
2) when the field is a number generated this error:
WITH OBJECT ::oDBFDipend
::oComboBox2:aItems := :SaveToArray( {("nCODNUM"} )
END WITH
LTRIM(0)
Errore BASE/1101 Argument error: LTRIM
Argomenti: ( [ 1] = Tipo: N Val: 0)
FRANK
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.
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.
ComboBox:aItems
- ignacio
- Site Admin
- Mensajes: 9441
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
ComboBox:aItems
Frank,
I am afraid SaveToArray only works with real fields
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"FRANK" escribió en el mensaje de noticias:4d9ac765$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
Hello,
Two questions:
1) Whit this code generated this error:
WITH OBJECT ::oDBFDipend
:AddCalcField( "cDIPEND", {| o | TRIM(o:oDataSet:COGNOME) + " " +
TRIM(o:oDataSet:NOME)})
::oComboBox1:aItems := :SaveToArray( {("cDIPEND"} )
END WITH
(b)TDBFDATASET:SAVETOARRAY(1828)
Errore BASE/1003 Variable does not exist: DIPEND
Argomenti: ()
It's possible to use this?
2) when the field is a number generated this error:
WITH OBJECT ::oDBFDipend
::oComboBox2:aItems := :SaveToArray( {("nCODNUM"} )
END WITH
LTRIM(0)
Errore BASE/1101 Argument error: LTRIM
Argomenti: ( [ 1] = Tipo: N Val: 0)
FRANK
I am afraid SaveToArray only works with real fields
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"FRANK" escribió en el mensaje de noticias:4d9ac765$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
Hello,
Two questions:
1) Whit this code generated this error:
WITH OBJECT ::oDBFDipend
:AddCalcField( "cDIPEND", {| o | TRIM(o:oDataSet:COGNOME) + " " +
TRIM(o:oDataSet:NOME)})
::oComboBox1:aItems := :SaveToArray( {("cDIPEND"} )
END WITH
(b)TDBFDATASET:SAVETOARRAY(1828)
Errore BASE/1003 Variable does not exist: DIPEND
Argomenti: ()
It's possible to use this?
2) when the field is a number generated this error:
WITH OBJECT ::oDBFDipend
::oComboBox2:aItems := :SaveToArray( {("nCODNUM"} )
END WITH
LTRIM(0)
Errore BASE/1101 Argument error: LTRIM
Argomenti: ( [ 1] = Tipo: N Val: 0)
FRANK
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
ComboBox:aItems
Hi,
I was thinking of making mistakes in syntax,
work it in another way
Thanks
Frank
"Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> ha scritto nel
messaggio news:4d9df7d4$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Frank,
>
> I am afraid SaveToArray only works with real fields
>
> Regards,
>
>
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer / Xailer team]
> http://www.xailer.com
> http://www.xailer.info
> http://www.xailer.com/forum
> http://www.xailer.com/dokuwiki
> "FRANK" escribió en el mensaje de noticias:4d9ac765$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>
> Hello,
>
> Two questions:
>
> 1) Whit this code generated this error:
>
> WITH OBJECT ::oDBFDipend
> :AddCalcField( "cDIPEND", {| o | TRIM(o:oDataSet:COGNOME) + " " +
> TRIM(o:oDataSet:NOME)})
> ::oComboBox1:aItems := :SaveToArray( {("cDIPEND"} )
> END WITH
>
>
> (b)TDBFDATASET:SAVETOARRAY(1828)
> Errore BASE/1003 Variable does not exist: DIPEND
> Argomenti: ()
>
> It's possible to use this?
>
>
> 2) when the field is a number generated this error:
>
> WITH OBJECT ::oDBFDipend
> ::oComboBox2:aItems := :SaveToArray( {("nCODNUM"} )
> END WITH
>
> LTRIM(0)
> Errore BASE/1101 Argument error: LTRIM
> Argomenti: ( [ 1] = Tipo: N Val: 0)
>
>
> FRANK
>
I was thinking of making mistakes in syntax,
work it in another way
Thanks
Frank
"Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> ha scritto nel
messaggio news:4d9df7d4$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Frank,
>
> I am afraid SaveToArray only works with real fields
>
> Regards,
>
>
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer / Xailer team]
> http://www.xailer.com
> http://www.xailer.info
> http://www.xailer.com/forum
> http://www.xailer.com/dokuwiki
> "FRANK" escribió en el mensaje de noticias:4d9ac765$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>
> Hello,
>
> Two questions:
>
> 1) Whit this code generated this error:
>
> WITH OBJECT ::oDBFDipend
> :AddCalcField( "cDIPEND", {| o | TRIM(o:oDataSet:COGNOME) + " " +
> TRIM(o:oDataSet:NOME)})
> ::oComboBox1:aItems := :SaveToArray( {("cDIPEND"} )
> END WITH
>
>
> (b)TDBFDATASET:SAVETOARRAY(1828)
> Errore BASE/1003 Variable does not exist: DIPEND
> Argomenti: ()
>
> It's possible to use this?
>
>
> 2) when the field is a number generated this error:
>
> WITH OBJECT ::oDBFDipend
> ::oComboBox2:aItems := :SaveToArray( {("nCODNUM"} )
> END WITH
>
> LTRIM(0)
> Errore BASE/1101 Argument error: LTRIM
> Argomenti: ( [ 1] = Tipo: N Val: 0)
>
>
> FRANK
>