Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form not refreshing when moving through records in table
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00543067
Message ID:
00543070
Vues:
16
>I have recently added a print button a form which simply displays data from a table one record at a time...you move through the table by VCR buttons which are on the form. When I click on the print button and then click on the VCR buttons again, the data on the form is not updated with the current record. However, I can see that it is moving through the table correctly...it appears that the screen is just not refreshing. Here is the code behind the Print button:
>
>thisform.lockscreen=.t.
>
>report form security.frx all to printer noconsole
>
>select tmp_brow
>go top
>thisform.lockscreen=.f.
>
>
>Can anyone help me?
>
>Thanks in advance!

Try THISFORM.Refresh after the Go Top
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform