Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting a grid to start displaying where you want it to.
Message
 
 
To
20/06/1999 12:42:37
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00231903
Message ID:
00231921
Views:
12
>I have a grid set up on page 3 of a pageframe. The grid is supposed to show, in list form, what we are viewing in detail on page 1. Which it does.
>
>The problem is that I want the first record displayed in the grid to be the current record showing on page 1. In practice it always starts at the first record on the database. How can I force it to start where I want it to? (I've tried placing a "go recnum" in both the page 3 activate event and the grid init event - where recnum is the recno() of the current record on page 1, but with no effect)

Put in the activate event of page3 refresh the form, then set the focus on the grid. Voila.

P.S. Great flag.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform