Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Headings when SQL - Select into Cursor 'refreshes'
Message
De
03/05/2000 15:16:19
 
 
À
01/05/2000 23:39:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00364968
Message ID:
00365748
Vues:
25
>

I am using a SQL - Select into a cursor which is used as the datasource for my grid. I use the following line after the select and it updates fine the first time through.
>

THISFORM.ComboBox1.RowSource = THISFORM.ComboBox1.RowSource
>

However, when the select is executed the second, or third, or.... time the headings and colum widths are reset to match the cursor. How do I maintain my original settings?


You could define these settings in code after the select...

with thisform.grid1.
.column1.width=100
.column1.header1.caption='Whatever'
.column2.width=300
endwith

Thanks,

Stacy



Black Mountain Software, Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform