Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I requery a grid and lose all code in textboxes, and for
Message
De
01/04/2009 11:34:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01392592
Message ID:
01392594
Vues:
61
The recordsource must be a separate cursor, and not the result of the query.
Select ** into cursor curDummy
Select CursorGrid && this is the recordsource for teh grid
zap
append from dbf('curDummy')
yourgrid.refresh()
>I have a grid that has an sql statement as a recordsource as an sql statement, and recordsourcetype as sql. when the grid gets focus, I requery the sql.I lose all of my settings for the grid and any code that I placed in the text box.
>
>What did I forget to do?
>
>TIA,
>Mike
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform