i used this to call any form
do form c:\folder\form.scx
and to pass a value:
form.text1.value= "value"
but since form.scx is a parent formset, im getting the error: "object form is not found."
in this line: form.text1.value= "value"
i think im missing something here..
actually this is my code:
LOCATE FOR id_no = thisform.txtId_no.Value AND tor_table.scode = ALLTRIM(auto_table.pre1) OR tor_table.scode = ALLTRIM(auto_table.pre2) AND VAL(tor_table.grade) < 3
IF FOUND()
MESSAGEBOX("Pass")
ELSE
MESSAGEBOX("fail")
ENDIF
is there wrong in my conditions?
if val(tor_table.grade) > 3 && where grade field is a character so i put the val() to convert it
messagebox("grade failed")
else
messagebox("grade pass")
endif
and when the value of grade is 1, the popup message is the 1st messagebox.
am i doing wrong on the code, if so pls help
here is example grid table
column 1 | column 2 |
---------------------
1 | data 1 |
2 | data 2 |
3 | data 3 |
4 | data 1 |
5 | data 3 |
what i want is that 2 data 3 will be highlighted with red backcolor
and data 1 with blue color and the others...
hello guys..
how to do a prg file in vfp once in a monday only.
or in other words, if the program is open in monday then
the prg will be executed once.
my problem is when the user reopens the program on the same day,
the prg will again be executed.
what i want is that the prg will run only once...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.