Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Base Grid on Cursor -- Any problems? Any Tricks?
Message
De
12/01/2000 19:20:19
 
 
À
12/01/2000 18:04:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00317290
Message ID:
00317334
Vues:
21
>Before you rebuild the record source cursor, set the RecordSource property to "", rebuild your cursor, and then set it back to your cursor name.

You got it. I found out that setting the RecordSource property again made the data appear. I'll do it the way you suggest.

I'm remembering now that contained objects are initialized first and the container last. So of course there was no cursor when the grid was first instantiated.

I tried arranging the columns in the cursor in the same order as the grid columns and leaving the ControlSource for each of the column textboxes empty. But when I loaded the grid with data it added 6 columns (to match the cursor) and changed all of my column widths. So it looks like I need to set all of the textbox ControlSource individually.

Thanks.

Peter
Peter Robinson ** Rodes Design ** Virginia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform