Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not refreshing
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Not refreshing
Miscellaneous
Thread ID:
00710956
Message ID:
00710956
Views:
43
Can someone please tell me why this failed. I have a workaround already, but would like to avoid the mistake next time.

On a report parameters form, a textbox expects user entry to report on just one loan. The textbox had data a source of posted.loannum (a loan # to report on just one loan). However, the correct data source should have been loan.loannum. But when I changed it to loan.loannum, the text boxes displaying the borrower's first and last names do not refresh. My workaround is to assign the loan.loannum to thisform.loannum1 property during the form Load, which works fine.

VALID method for the loan number entry box is:

SET ORDER TO loannum IN loan

IF SEEK( thisform.orpages.page2.loannum1.value, 'loan')
thisform.orpages.page2.loanfirst.visible = .T.
thisform.orpages.page2.loanlast.visible = .T.
THISFORM.orpages.page2.loanfirst.refresh
THISFORM.orpages.page2.loanlast.refresh
WAIT WIND "Hit to accept loan number OR to reenter"
IF LASTKEY() = 27
RETURN 0
ELSE
=RLOCK()
ENDIF
ELSE


Any thoughts on why this change caused the refresh to fail?

thanks, dennis
Next
Reply
Map
View

Click here to load this message in the networking platform