Can someone help me?? I got this error Operator/Operand type mismatch
Here is the code"
sifraww=thisform.bz1_sifra.Value
thisform.bz1_naziv.Value=" "
thisform.bz1_nazen.value=" "
thisform.bz1_krat.value=" "
thisform.bz1_status.value=" "
thisform.bz1_sifra.Value=" "
IF thisform.bz1_sifra.Value>0
LOCAL laa
DECLARE laa[5]
ima=0
select bz1_sifra,bz1_naziv,bz1_nazen,bz1_krat,bz1_status;
FROM bz1 WHERE bz1_sifra=sifraww INTO ARRAY laa
IF _tally>0
ima=1
thisform.izbor.Caption="PROMENA"
ELSE
thisform.izbor.Caption="NOV"
ENDIF
thisform.pole_t
thisform.cmd_zapis.Enable=.T.
endif
Here is the code"
sifraww=thisform.bz1_sifra.Value
thisform.bz1_naziv.Value=" "
thisform.bz1_nazen.value=" "
thisform.bz1_krat.value=" "
thisform.bz1_status.value=" "
thisform.bz1_sifra.Value=" "
IF thisform.bz1_sifra.Value>0
LOCAL laa
DECLARE laa[5]
ima=0
select bz1_sifra,bz1_naziv,bz1_nazen,bz1_krat,bz1_status;
FROM bz1 WHERE bz1_sifra=sifraww INTO ARRAY laa
IF _tally>0
ima=1
thisform.izbor.Caption="PROMENA"
ELSE
thisform.izbor.Caption="NOV"
ENDIF
thisform.pole_t
thisform.cmd_zapis.Enable=.T.
endif