Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid behavior only works once ???
Message
De
03/01/2005 06:38:13
 
 
À
03/01/2005 02:04:54
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
MySQL
Divers
Thread ID:
00973249
Message ID:
00973774
Vues:
29
I do not understand why this works only once!
Calling form2 from form1 in the same way, filling the searchfield with the same value .... and the grid is reset to default textboxes ?????


How are you populating the grid's RecordSource? Are you using the trick of setting it to an empty string and the filling the cursor using an SQL SELECT? If so, try using what I call a "Safe Select" instead. Put the results of your query into a temporary cursor, ZAP the grid's RecordSOurce, and APPEND the results FROM the remporary cursor into the grid's RecordSource. ZAPping the cursor does not close it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform