Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding row to grid with code, how to find new row?
Message
De
09/08/1998 09:42:47
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00125075
Message ID:
00125102
Vues:
13
>have a grid with a recordsource=table1. button to "insert to table1". the button code inserts a row into table1. i then refresh the grid. the new row displays as the last row (not certain this will always be true, table1 is ordered by a nonunique index). how can i find my newly inserted row in the grid to highlight (setfocus?) its column1? how do i highlight? is it the same as column1.setfocus()? sorry but i am very confused abouf activerow, activaterow, and relativerow.

When you SETFOCUS() to the grid, you will be "standing" on the newly added record; you don´t have to do anything.

HTH!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform