this is example, but not works for me with global varables
if ([prezzo_cliente] > 0 )
{
sc_alert(“Il cliente ha prezzo riservato”);
}
this is example, but not works for me with global varables
if ([prezzo_cliente] > 0 )
{
sc_alert(“Il cliente ha prezzo riservato”);
}
Try put ’ ’
if ([prezzo_cliente] > ‘0’ )
{
sc_alert(“Il cliente ha prezzo riservato”);
}
can you give more details , where do you put this code ? and with grid or form?
And is it numeric or string?
example if want use this with global var, i want use in form
if ([prova] == ‘’ ) { … } ;
if ([test1master] == ‘’ ) { sc_alert(“test”); }
{test1master} = [test1master];
Thats all fine - what’s the problem?
Have you echoed the global var to see what’s in it? Where is the value set - in that app or another? Is it defined correctly in the Application | Global Variables section?
If you want help you need to give more detail as we are not psychic 