Page 1 of 1

Get ...picture ...error strange--- resolved!!!

Posted: Thu Apr 15, 2021 7:06 am
by Silvio.Falconi

Code: Select all | Expand

@ 1.3,6 GET oGet VAR cGet PICTURE "@!"  OF oDlg  SIZE 150, 11 UPDATE



Error description: Error BASE/1122 Parametro errato: TRANSFORM
Args:
[ 1] = U
[ 2] = C @!

Stack Calls
===========
Called from: => TRANSFORM( 0 )
Called from: .\source\classes\TGET.PRG => TGET:NEW( 564 )


where is the error ?????
I need to have the cGet Upper

Re: Get ...picture ...error strange

Posted: Thu Apr 15, 2021 10:19 am
by Antonio Linares
Silvio,

cGet seems to be nil

Re: Get ...picture ...error strange

Posted: Thu Apr 15, 2021 10:30 am
by Silvio.Falconi
Antonio,
It's no possible because I made


local nOrder := CL->(OrdNumber())


DEFINE DIALOG oDlg .....

if nOrder == 1
@ 0,7 SAY i18n( "Introdurre il cliente'" ) OF oDlg
@ 1,2 SAY i18n( "Cliente :" ) OF oDlg
cGet := space(40)
elseif nOrder == 2

...
Endif

@ 1.3,6 GET oGet VAR cGet PICTURE "@!" OF oDlg SIZE 150, 11 UPDATE

Re: Get ...picture ...error strange

Posted: Thu Apr 15, 2021 10:44 am
by Silvio.Falconi
ok,
I found the error
on inifile
ClOrder=0

opps...