Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to 'rerun' SQL statement Record Source?
Message
 
À
05/08/1998 16:08:09
Mandy Mccord
Public Interest Breakthroughs, Inc.
Albany, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00124108
Message ID:
00124323
Vues:
27
>>>Evan,
>>>
>>>No luck. I tried adding the form refresh line and substituting my code with your WITH..ENDWITH code (neat tip, thanks!) and my lists are still not refreshing until I close/open the form. Ugh!
>>>
>>>Mandy
>>
>>Esteban's correct, Mandy -- the WITH...ENDWITH code needs to be located in the Activate of the first form. You *might* even try putting it into the Activate of the *page itself* -- but I'd try the form's Activate *first* (g).
>>
>>Don't despair...we'll all help you get this worked out eventually (g).
>>
Glad you got this working, but I suspect that the problem you had with the other techniques was because Form2 wasn't Modal, and the code in your click method which called Form2 was run immediately instead of waiting until you closed Form2. The reason putting the code in the Activate for the page works is because that page is re-activated after returning from Form2.

>>Evan Pauley
>
>BINGO!!! I put the following code in my page's Activate command and she's working perfectly! Thanks for all of your help. It's *very* much appreciated!
>
>Mandy
>
>[in my page activate method]
>
>WITH thisform.pfAgyCont.pContacts1
> .cmbATName.requery()
> .cmbCOName.requery()
> .cmbCPCName.requery()
> .Refresh()
>
>ENDWITH && thisform.pfAgyCont.pContacts1
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform