Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not refreshing
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Not refreshing
Divers
Thread ID:
00710956
Message ID:
00710956
Vues:
44
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
Fil
Voir

Click here to load this message in the networking platform