Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement