Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display data in a grid
Message
De
14/03/2002 23:26:37
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00633175
Message ID:
00633250
Vues:
16
>Hi,
>
>You might try making the actual table the gird's record source.
>
>Select A
>use test_table
>
>I think if you want to select a cursor from the test_table to be displayed as the grid's record source, you must re-initialize the grids record source by setting it to "" and then passing the new cursor to the grid's record source property each time a new cursor is created. Even thought the cursor is created exactly the same each time, it will have a new window's handle that the grid really uses to find its record source. Passing the "" (e.g. double quote) to the gird's record source property and then passing the cursor to the grid's record source property forces the grid to properly reference the current cursor per its window's OS handle.

Thank you Leland. Yea, I was not using the "" around my cursor name. Got it working. But the part that still does not work is that the grid displays only one records, whereas, based on the select statement, there are many records in the cursor.

- Ravi
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform