Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with grid?
Message
De
10/08/2006 14:33:29
 
 
À
10/08/2006 14:27:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01144600
Message ID:
01144602
Vues:
13
>hi,
>I am doing a system for college and have the following problem with a grid.
>am working with the process of inscription where in a grid I prove to be the students who are going to register and inside, the grid I have a check to select everything the first time works well; but when I try to make the grid another inscription one distorts and loses the form and what goes out for me on screen they are the fields of the cursor that this linked to the grid.
>
>And though I whiten the recordsource it works out equal
>
>thisform.folder.page2.grid1.recordsource="" Before assigning him
>and after
>thisform.folder.page2.grid1.recordsource="cursor"

Avoid changing the recordsource! In stead you do like this
Select -Whatever- into cursor tempcursor
Select yourcursor && the grid's recourdsource
zap
append from dbf('tempcursor')
yourgrid.refresh()
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform