Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not refreshing
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00710956
Message ID:
00711364
Vues:
17
The control source is the loan.dbf. Loan.fname and loan.lname, which contain the borrower's first and last name.

dennis

>Hi Dennis,
>
>What's ControlSource of the loanfirst and loanlast textboxes?
>
>>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 <Enter> to accept loan number OR <Esc> to reenter"
>>	IF LASTKEY() = 27
>>		RETURN 0
>>	ELSE
>>		=RLOCK()
>>	ENDIF	
>>  ELSE
>>
>>
>>Any thoughts on why this change caused the refresh to fail?
>>
>>thanks, dennis
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform