got it!
because the expression iif(drange=0,iif(dday!="30" or dday!="31",dday,""),dday) does not result to any logical value, it is not printing dday.
so i changed it to,
iif(drange=0,iif(dday!="30" and dday!="31",.T.,.F.),.T.)
now i get the...
even if it always evaluates to T, why would dday be printed if i changed the IIF to,
iif(drange=0,iif(val(dday)!=30 or val(dday)!=31,dday,dday),dday)
or suitably changed it to
iif(drange=0,iif(val(dday)!=30 and val(dday)!=31,dday,dday),dday)
hi baltman,
i'm sure dday is 2 characters. i have dday!="31" in print when in other textboxes except for this one, dday are displayed except of course for 31.
now i do not want to print 30 and 31 in textbox dday.
i'm confused too, does print when don't accept IIF's?
any more help...
i have in variables drange and dday with values 0 and 1-31 respectively. i have a textbox in my report and i put this in "print when"
iif(drange=0,iif(dday!="30" or dday!="31",dday,""),dday)
that is, i do not want to print values 30 and 31 if drange=0...
why am i having error "function requires row or table buffering mode" at this line,
if !tableupdate()
thisform.txtempno.setfocus()
return
endif
in my form's load event i have,
set multilocks on
=cursorsetprop("buffering",5,"money")
=tableupdate(.t.)...
fmoore0001,
from the "view classes" in your toolbar, select add. locate the class you want to use. foxpro will add a button just beside the "view classes" for your class. then drag it in your form.
HTH
ellehcsim,
in your form's init event, put thisform.text1.value=date(), and foxpro automatically checks if the entered date is valid or not. foxpro will give you a message "invalid date" if you entered an invalid date.
HTH
hi chris,
what can i do to hide the DOS window?
i used madhater2002's code but i'm having this error,
OLE error code 0x80070002: The system cannot find the file specified.
what's wrong?
hi, i have this code
if file("h:\dtr\dtr.exe")=.t.
=adir(lalocal,"c:\dtr\dtr.exe")
=adir(laserver,"h:\dtr\dtr.exe")
if lalocal(1,3)<laserver(1,3)
?winexecrun("copy h:\dtr\*.* c:\dtr")
else
if lalocal(1,3)=laserver(1,3)
if...
i used microsoft toolbar control to add a toolbar in my form. but i don't know how to add pictures to my button. i have added a microsoft imagelist control and added all pictures there. i've chosen the imagelist as the imagelist of the toolbar control.
but i still don't see any picture. how do...
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.