Information générale
Titre:
Dummy question about an operation
I have this code in a combobox:
Thisform.combo1.enabled=.t.
If m.ordenproceso = 0
thisform.text1.value=int(thisform.combo1.value)
Else
kl=Select()
Sele llamadas
Set order to ordenproc
Seek m.ordenproceso
If found()
Scatter memvar memo
Else
= MESSAGEBOX("Registro no existe")
Endif
Select(kl)
Endif
Thisform.refresh
This code is in the lost focus method, and after i build or create the exe file the next message error appears:
Operator/value mismatch
and i think is because the line i bold it up.
i change the int function to val function and is the same thing.
Thanks for the help.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement