General information
Category:
Forms & Form designer
>I've got a form with a pageframe on it. This pageframe contains a lot of pairs of text boxes, one for the last date and one for the next date. I set the value of nextdate based on the value from lastdate through a simple NextDate method.
>
>My problem is when the form refreshes, the nextdate textbox refresh() errs out. I've traced into it and found that "this" is a form instead of a textbox, so there is no "value" associated with it. The part that confuses me is that the form only errs out on the first nextdate textbox. All the others refresh fine.
>
>The refresh method contains code like the following
> If this.value = date()
> this.backcolor = ....
> endif
>
>Any suggestions?
>
>TIA
>
>Greg Carter
>Wichita Falls State Hospital
Hi Greg,
I've seen this problem in the past -- and was actually able to reproduce it and get a bug tracking number. I haven't tested to see if it's still in 5.0 -- but the quick answer is to use a fully qualified path from THISFORM.
-dta
Previous
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