Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems keeping my view from running when my form is op
Message
De
18/04/2000 19:29:40
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
À
18/04/2000 19:14:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00361097
Message ID:
00361098
Vues:
20
>If I set the control sources of each text box to the fields in the view then when i open the form it automaticly runs the
>view before i am able to load the public variable with my date range that the view needs run the filter which has to be typed into one of the textboxes in the same form. If I set autoopen table to .F. then i get errors for every text box saying the control source is invalid or somthing to that effect.
>
> Thanks Kelly

Make sure that the view is set up for "no data on load". That way, the view is present so the control sources won't bomb on their init(), yet there won't be any funky, irrelevant data in them either. After the user selects the criteria, requery the view, and you may have to refresh your controls.

Hope that helps.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform