Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding row to grid with code, how to find new row?
Message
From
09/08/1998 09:42:47
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00125075
Message ID:
00125102
Views:
12
>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!
Previous
Reply
Map
View

Click here to load this message in the networking platform