Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing a form from another form
Message
De
23/08/2005 11:05:50
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01042911
Message ID:
01042949
Vues:
20
You didn't say what the error was. Not sure here - maybe the NAME variable has gone out of scope. Is the prog that calls the form finished with, i.e. there aren't any more commands after the call to QueryForm?

It's intersting that you've named the form the same, which is what happens by default, without the NAME clause, but in that case I don't think you can utilise the default name. Try giving it another name, like "loQueryForm".

In any case, doesn't my second suggestion work, as the QuerySelect form is invoked from QueryForm, immediately after issue "thisform.refresh()"

>Thanks Terry
>
>In my main startup program I have:
>
>
>do form QueryForm name queryform
>
>
>Then on my main form (QueryForm) in the button event I open my search form (QuerySelect). In the unload event of this form I have QueryForm.Refresh() but I get an error!
>
>Any ideas? I have made it modal and 'IN top level form'
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform