General information
Title:
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only